You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Scott Gray (JIRA)" <ji...@apache.org> on 2010/01/18 19:58:54 UTC
[jira] Closed: (OFBIZ-3302) EntityTestSuite testEntityListIterator
assumes a default order by id
[ 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.