You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Wickersheimer Jeremy (JIRA)" <ji...@apache.org> on 2009/12/04 04:30:20 UTC
[jira] Created: (OFBIZ-3302) EntityTestSuite testEntityListIterator
assumes a default order by id
EntityTestSuite testEntityListIterator assumes a default order by id
--------------------------------------------------------------------
Key: OFBIZ-3302
URL: https://issues.apache.org/jira/browse/OFBIZ-3302
Project: OFBiz
Issue Type: Bug
Components: framework
Affects Versions: Release Branch 9.04
Reporter: Wickersheimer Jeremy
Fix For: Release Branch 9.04
The test EntityTestSuite testEntityListIterator is assuming the entities are ordered by ID, although this may be true in some cases this fails with some DBs.
This should be made explicit :
EntityListIterator iterator = delegator.find("Testing", EntityCondition.makeCondition("testingId", EntityOperator.LIKE, "T2-%"), null, null, UtilMisc.toList("testingId"), null);
This applies to 09.04, might apply to trunk as well if it was not fixed there already.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (OFBIZ-3302) EntityTestSuite testEntityListIterator
assumes a default order by id
Posted by "Scott Gray (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-3302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Gray closed OFBIZ-3302.
-----------------------------
Resolution: Fixed
Fix Version/s: SVN trunk
Thanks Jeremy, fixed in trunk r900511 and 9.04 r900512.
> EntityTestSuite testEntityListIterator assumes a default order by id
> --------------------------------------------------------------------
>
> Key: OFBIZ-3302
> URL: https://issues.apache.org/jira/browse/OFBIZ-3302
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Release Branch 9.04
> Reporter: Wickersheimer Jeremy
> Assignee: Scott Gray
> Fix For: Release Branch 9.04, SVN trunk
>
>
> The test EntityTestSuite testEntityListIterator is assuming the entities are ordered by ID, although this may be true in some cases this fails with some DBs.
> This should be made explicit :
> EntityListIterator iterator = delegator.find("Testing", EntityCondition.makeCondition("testingId", EntityOperator.LIKE, "T2-%"), null, null, UtilMisc.toList("testingId"), null);
> This applies to 09.04, might apply to trunk as well if it was not fixed there already.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (OFBIZ-3302) EntityTestSuite
testEntityListIterator assumes a default order by id
Posted by "Scott Gray (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-3302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Gray reassigned OFBIZ-3302:
---------------------------------
Assignee: Scott Gray
> EntityTestSuite testEntityListIterator assumes a default order by id
> --------------------------------------------------------------------
>
> Key: OFBIZ-3302
> URL: https://issues.apache.org/jira/browse/OFBIZ-3302
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Release Branch 9.04
> Reporter: Wickersheimer Jeremy
> Assignee: Scott Gray
> Fix For: Release Branch 9.04
>
>
> The test EntityTestSuite testEntityListIterator is assuming the entities are ordered by ID, although this may be true in some cases this fails with some DBs.
> This should be made explicit :
> EntityListIterator iterator = delegator.find("Testing", EntityCondition.makeCondition("testingId", EntityOperator.LIKE, "T2-%"), null, null, UtilMisc.toList("testingId"), null);
> This applies to 09.04, might apply to trunk as well if it was not fixed there already.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.