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

View Revisions: Issue #37731 All Revisions ] Back to Issue ]
Summary 0037731: obstsyn_srvr_bp_uni constraint is sometimes violated when synchronizing a business partner from a store to the central server
Revision 2018-02-21 14:43 by AugustoMauch
Steps To Reproduce I have not been able to reproduce it manually, it came from BUT where they use RCU to read business partners in the POS.

The environment where it was reproduced had the conditions listed in the issue description:
- The business partner must already exist in the CS
- It must have a default store other than the one where it is being synchronized
- The batch of the entries being synchronized must contain two or more changes related with that business partner.

Looking at the code, it is clear that there is a problem because to check if a business partner belongs to a store the business partner instance in the DAL session is checked, but BPartnerStoreWriterFilterAdapter is adding them directly to the database, so the DAL instance in the session is not aware of the changes.
Revision 2018-02-21 14:34 by AugustoMauch
Steps To Reproduce -


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker