ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swapnil M Mane (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-4690) If Picklist is Cancelled than all the PicklistItem related to that PicklistId should also get Cancel.
Date Mon, 18 Mar 2019 10:48:00 GMT

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

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

Thank you [~ankit.jain] and [~jacques.le.roux] for your contribution.

I think we should handle the following case:
A transaction in running in which Picklist entity is updated, now if the transaction is rollback
the picklist status will not be updated but since we call the cancelPicklistAndItems in async
mode, the picklist item's status will get updated.

So the situation here is status of Picklist is not updated, but status of Picklist items are
updated.

Here are two possible solutions:

1.) Run the eca on "commit" event.
2.) Call cancelPicklistAndItems action service in sync mode.

Please let me know thoughts or and let me know if I missed anything.

Thanks!

> If Picklist is Cancelled than all the PicklistItem related to that PicklistId should
also get Cancel. 
> ------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4690
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4690
>             Project: OFBiz
>          Issue Type: Improvement
>    Affects Versions: Release 10.04, Release Branch 11.04, Trunk
>            Reporter: Ankit Jain
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Trunk
>
>         Attachments: OFBIZ-4690.patch
>
>
> If Picklist is Cancelled than all the PicklistItem related to that PicklistId should
also get Cancel. 



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

Mime
View raw message