Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Cash upmajorhave not tried2022-01-12 11:332022-01-12 11:33
Reporterludmila_ursuView Statuspublic 
Assigned ToRetail 
PriorityhighResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabasePostgreSQLJava version11.0.11
OS VersionDatabase version10Ant version1.10.5
Product VersionRR20Q3.4SCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0048386: A cancel and replace order causes an EWI

DescriptionAfter 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(

The same error was experienced by Zodio (ZenDesk ticket 23027).
The fix that was applied for Zodio was this one: [^]
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.

Steps To ReproduceSteps 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 SolutionProposed solution

Apply this fix: [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
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

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker