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
Description Under some very specific conditions, there obstsyn_srvr_bp_uni constraint is violated:
- 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.

When a entry from business partner is synchronized the BPartnerStoreWriterFilterAdapter class adds to the business partner the store from where the business partner was synchronized. This class is not working properly in the conditions mentioned above.
Revision 2018-02-21 14:34 by AugustoMauch
Description An error is throwing when it is completed a ticket with some customers. A synchronization error is produced due to this error.

ERROR: duplicate key value violates unique constraint "obstsyn_srvr_bp_uni"
  Detail: Key (obmobc_server_definition_id, c_bpartner_id)=(37DAB0037FB540389C3700F7E85407DD, 5A39D5813E21417D8127AB86CB22ADB4) already exists.


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker