Author: surajk
Date: Sat Sep 22 07:09:42 2018
New Revision: 1841657
URL:
http://svn.apache.org/viewvc?rev=1841657&view=revLog:
Fixed: Search operation on 'AssocRevisionItemView' entity causing exception.
(OFBIZ-8842)
Thanks Humera Khan for reporting the issue and providing the patch.
Modified:
ofbiz/ofbiz-framework/trunk/applications/datamodel/entitydef/content-entitymodel.xml
Modified: ofbiz/ofbiz-framework/trunk/applications/datamodel/entitydef/content-entitymodel.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/datamodel/entitydef/content-entitymodel.xml?rev=1841657&r1=1841656&r2=1841657&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/datamodel/entitydef/content-entitymodel.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/datamodel/entitydef/content-entitymodel.xml Sat Sep 22 07:09:42 2018
@@ -57,7 +57,7 @@ under the License.
<alias entity-alias="CA" name="sequenceNum" group-by="true"/>
<alias entity-alias="CRI" name="rootRevisionContentId" field="contentId" group-by="true"/>
<alias entity-alias="CRI" name="itemContentId" group-by="true"/>
- <alias entity-alias="CRI" name="contentRevisionSeqId" group-by="false"/>
+ <alias entity-alias="CRI" name="contentRevisionSeqId" group-by="true"/>
<alias entity-alias="CRI" name="maxRevisionSeqId" field="contentRevisionSeqId" function="max"/>
<view-link entity-alias="CA" rel-entity-alias="CRI">
<key-map field-name="contentId" rel-field-name="itemContentId"/>