[jira] [Commented] (OFBIZ-10377) missing oldStatusId in error when no status valid change record found

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

[jira] [Commented] (OFBIZ-10377) missing oldStatusId in error when no status valid change record found

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-10377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16665939#comment-16665939 ]

Lalit Dashora commented on OFBIZ-10377:
---------------------------------------

Hello,

Please find the provided patch. This will fix the issue in logs shown when invalid statusvalidchange is found in the system.

When status change is not allowed from one state to other then system will return error from 

CommonErrorNoStatusValidChange label. This label tries to find lookedup value but localContext doesnot have this value. Added the lookedupValue in localContext to fix the issue.

Thanks!

> missing oldStatusId in error when no status valid change record found
> ---------------------------------------------------------------------
>
>                 Key: OFBIZ-10377
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10377
>             Project: OFBiz
>          Issue Type: Improvement
>            Reporter: Lalit Dashora
>            Assignee: Lalit Dashora
>            Priority: Major
>         Attachments: OldStatusIdMissingPatch.patch
>
>
> If no transaction for status valid change is found, OldStatusId is missing on the console while showing error.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)