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.