You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Swapnil M Mane (JIRA)" <ji...@apache.org> on 2019/03/30 06:03:03 UTC

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

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

Swapnil M Mane commented on OFBIZ-10377:
----------------------------------------

Thanks [~lalit.dashora] for your contibution.

You patch is committed in

trunk at rev 1856598
release18.12 at rev 1856599
release17.12 at rev 1856600
release16.11 at rev 1856601

I also face the similar issue and debug it, here are few notes on issue and steps to test (commenting for futur reference)
Issue: In the case of entity auto service, when an invalid status change is performed, the error message doesn't show the current status of the item from which the user is changing the status.

e.g. 
Change the status of 'In Progress' marketing campaign to 'Planned'

1.) Navigate to https://demo-trunk.ofbiz.apache.org/marketing/control/FindMarketingCampaign
2.) Select any 'In Progress' marketing campaign
3.) Change status to 'Planned'

The error shown is: 
Error: status change from [] to [MKTG_CAMP_PLANNED] is not allowed.

After the above commits, this issue is fixed.
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: Swapnil M Mane
>            Priority: Major
>         Attachments: StatusIssue.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)