|View Issue Details[ Jump to Notes ]||[ Issue History ] [ Print ]|
|Type||Category||Severity||Reproducibility||Date Submitted||Last Update|
|defect||[Retail Modules] Cash up||major||have not tried||2022-01-12 11:33||2022-02-16 08:54|
|Priority||high||Resolution||fixed||Fixed in Version|
|Status||closed||Fix in branch||Fixed in SCM revision|
|OS Version||Database version||10||Ant version||1.10.5|
|Product Version||RR20Q3.4||SCM revision|
|Review Assigned To|
|Regression introduced in release|
|Regression introduced by commit|
|Triggers an Emergency Pack||No|
0048386: A cancel and replace order causes an EWI
|Description||After doing one sale, customer_1 wanted to cancel and replace the first order (the replace was a new order, for 0.01 E).|
This cancel and replace order provoked an EWI in the backoffice:
Caused by: org.openbravo.base.exception.OBException: A different object with the same identifier value was already associated with the session : [Order#30F63F17B28CB0ED25D412E32164F01D]
The same error was experienced by customer_2 (ZenDesk ticket 23027).
The fix that was applied was this one:
This corrected the error.
For customer_1, the service team applied the same fix.
At the present moment, the EWI is solved. We are not certain if correction was OK, because of applying the fix, or because of restarting the server (during deployment).
But since the defect seems to be present in the core of Openbravo, can you please check, if the fix mentioned, must be also applied to other customers ?
Thank you for your help.
I remain available if needed.
|Steps To Reproduce||Steps to reproduce:|
The steps are:
1. Make a sales.
2. Make a Cancel & Replace of the sales that you did in the step 1.
3. Check that the first order was canceled with the second that you do in step 2.
|Proposed Solution||Proposed solution|
Apply this fix:
|Tags||No tags attached.|
|Relationships [ Relation Graph ] [ Dependency Graph ]|
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/523 [^]
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/523 [^]
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/openbravo [^]
Author: Ranjith S R <firstname.lastname@example.org>
Date: 16-02-2022 07:54:27
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/48c4b8ab934044bd4d3efd6c951cd71c561c454d [^]
Fixed ISSUE-48386: Refresh Order before completing when doing Cancel & Replace
Sometimes, inverse order is created with same identifier. To avoid this, Order should be refreshed
|2022-01-12 11:33||ludmila_ursu||New Issue|
|2022-01-12 11:33||ludmila_ursu||Assigned To||=> Retail|
|2022-01-12 11:33||ludmila_ursu||Triggers an Emergency Pack||=> No|
|2022-02-02 17:09||ranjith_qualiantech_com||Assigned To||Retail => ranjith_qualiantech_com|
|2022-02-04 06:57||hgbot||Note Added: 0134778|
|2022-02-04 06:57||ranjith_qualiantech_com||Status||new => scheduled|
|2022-02-14 16:29||ludmila_ursu||Description Updated||View Revisions|
|2022-02-16 08:54||hgbot||Resolution||open => fixed|
|2022-02-16 08:54||hgbot||Status||scheduled => closed|
|2022-02-16 08:54||hgbot||Note Added: 0135044|
|2022-02-16 08:54||hgbot||Fixed in Version||=> PR22Q2|
|2022-02-16 08:54||hgbot||Note Added: 0135045|
|Copyright © 2000 - 2009 MantisBT Group|