Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #48386 All Revisions ] Back to Issue ]
Summary 0048386: A cancel and replace order causes an EWI
Revision 2022-02-14 16:29 by ludmila_ursu
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]
    at org.openbravo.erpCommon.businessUtility.ReplaceOrderExecutor.cancelAndReplaceOrder(ReplaceOrderExecutor.java:167)

The same error was experienced by customer_2 (ZenDesk ticket 23027).
The fix that was applied was this one:
https://gitlab.com/obcustomers/ZOD/openbravo-20q1/-/commit/c88ebddf7c56b0d3db7039591196fe4281f63013 [^]
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.

Revision 2022-02-04 06:57 by ludmila_ursu
Description After doing one sale, customer 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]
    at org.openbravo.erpCommon.businessUtility.ReplaceOrderExecutor.cancelAndReplaceOrder(ReplaceOrderExecutor.java:167)

The same error was experienced by Zodio (ZenDesk ticket 23027).
The fix that was applied for Zodio was this one:
https://gitlab.com/obcustomers/ZOD/openbravo-20q1/-/commit/c88ebddf7c56b0d3db7039591196fe4281f63013 [^]
This corrected the error.

For Weldom, 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.



Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker