Description

this message is thrown to the console:
Message: Roll back error, could not commit transaction, was rolled back instead because of: Error in Service [executeFind]: Error running Find on the CommunicationEventAndRole entity: Field with name custRequestDate not found in the CommunicationEventAndRole Entity

Activity

Here we are using the two screens on the same page. Both the screen have sortable list form. First is ListRequestList form in IncomingCustRequests screen and other is ListPartyCommEvents in MyCommunicationEvents screen. Both have sortable parameters name sortField.
When one list form is sorted on the basis of column(e.g custRequestDate)the same parameter is available for second list form. It will cause issue because the sortField parameter for first list form is not be available for second form.

So when we use two sortable form on same screen then sortField parameters will give issue, as its accessible for by both forms.

HotWax Media OFBiz Team
added a comment - 16/Aug/14 21:09 Here we are using the two screens on the same page. Both the screen have sortable list form. First is ListRequestList form in IncomingCustRequests screen and other is ListPartyCommEvents in MyCommunicationEvents screen. Both have sortable parameters name sortField.
When one list form is sorted on the basis of column(e.g custRequestDate)the same parameter is available for second list form. It will cause issue because the sortField parameter for first list form is not be available for second form.
So when we use two sortable form on same screen then sortField parameters will give issue, as its accessible for by both forms.

In the attached patch I have used form widget attribute "sort-field-parameter-name" to make sort field parameter exclusive to each of the list forms. OFBIZ-5105 is similar to this issue, so the patch would fix that issue as well.

Mridul Pathak
added a comment - 18/Oct/14 14:32 In the attached patch I have used form widget attribute "sort-field-parameter-name" to make sort field parameter exclusive to each of the list forms. OFBIZ-5105 is similar to this issue, so the patch would fix that issue as well.

Ashish Vijaywargiya
added a comment - 18/Oct/14 14:41 Thanks Mridul for the contribution and thanks Erwan for Creating the issue. Changes are committed in trunk and RB13.07 at r1632801 and r1632802 respectively.