[jira] [Updated] (OFBIZ-7191) Exception thrown on sorting by projectId on Request List

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-7191) Exception thrown on sorting by projectId on Request List

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-7191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rishi Solanki updated OFBIZ-7191:
---------------------------------
    Attachment: OFBIZ-7191.patch

Here is patch to fix the issue on sorting by projectId. The field projectId is not exists in the entity used in the perform find. Use the proper field workEffortParentId. Thanks to [~pratik.kulshreshth] for reporting and providing fix.

> Exception thrown on sorting by projectId on Request List
> --------------------------------------------------------
>
>                 Key: OFBIZ-7191
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7191
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/projectmgr
>            Reporter: Rishi Solanki
>            Priority: Minor
>         Attachments: OFBIZ-7191.patch
>
>
> Steps to regenerate:
> - Go to Project component.
> - Go to Request List menu.
> - Sort the second list by projectId under heading *Reviewed but not completed Customer Request list with task assigned*.
> - Check bottom of the screen for error.
> {code}
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://projectmgr/widget/CustRequestScreens.xml#RequestList]: org.ofbiz.entity.transaction.GenericTransactionException: Roll back error, could not commit transaction, was rolled back instead because of: Error in Service [executeFind]: Error running Find on the WorkEffortCustRequestView entity: Field with name projectId not found in the WorkEffortCustRequestView Entity (Roll back error, could not commit transaction, was rolled back instead because of: Error in Service [executeFind]: Error running Find on the WorkEffortCustRequestView entity: Field with name projectId not found in the WorkEffortCustRequestView Entity)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)