[
https://issues.apache.org/jira/browse/OFBIZ-3520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838972#action_12838972
]
Adam Heath commented on OFBIZ-3520:
-----------------------------------
Yeah, sorry, 897605 is the one that I am talking about.
I tried initially with a revsion from a few days ago. But the one that we were
running when we discovered the problem was from the end of januanry, 902021.
The test case doesn't need an assertion. An exception is throw, which leaves
the method, and is caught by junit, causing the test case to fail. A proper
run will not throw a test case, and that is not something that you can test
with junit, and still maintain 100% coverage of the test case.
This breaks with derby, haven't tried the test case against any other database.
--
[JUNIT (error)] - testFoo : org.ofbiz.entity.GenericDataSourceException: SQL
Exception while executing the following:SELECT COUNT(1) FROM (SELECT
COUNT(DISTINCT COUNT(DISTINCT T.TESTING_TYPE_ID)) FROM OFBIZ.TESTING T INNER
JOIN OFBIZ.TESTING_NODE_MEMBER TNM ON T.TESTING_ID = TNM.TESTING_ID GROUP BY
TNM.TESTING_NODE_ID) TEMP_NAME (Aggregate COUNT contains one or more
aggregates.)
--
> revision 897605 breaks certain delegator.find() EntityListIterator calls
> ------------------------------------------------------------------------
>
> Key: OFBIZ-3520
> URL: https://issues.apache.org/jira/browse/OFBIZ-3520
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Adam Heath
> Assignee: David E. Jones
> Attachments: 897606-testcase.patch
>
>
> We recently upgraded our internal ofbiz package to a newer trunk version, one
> from the end of January. Ean then deployed that to the server it was
> developing on. This broke requirements processing. I have reduced it,
> however, to a simple patch, that works if I revert 897606, but breaks when it
> is applied.
> Test case will be attached.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.