Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040103 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] StoreServer | major | have not tried | 2019-02-01 13:17 | 2019-02-04 16:04 | |||
Reporter | mtaal | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 975f579280a8 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | AugustoMauch | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040103: Sync error with specific flow related to BP | |||||||
Description | A sync error occurs in some cases. See the linked document. The theory is that this happens: - BP does not yet belong to a store - address is added to the BP through the store webpos, this does not yet add the BP to the store - ticket is created for the BP, the BP is added to the store - sym-ds sees the bp address change and creates a batch with the bplocation insert before the BP update, as the BP is now part of the store it tries to send it there. - sym-ds creates a batch for the ticket also I tested this scenario and it was tested by QA, for us it works. This leads me to think is a timing issue. | |||||||
Steps To Reproduce | See description | |||||||
Proposed Solution | Possibly add a trigger to bp location to touch the BP before the bplocation is saved | |||||||
Tags | No tags attached. | |||||||
Attached Files | sync_bp_error_1feb.csv [^] (4,890 bytes) 2019-02-01 13:17 add_loc_before_change.png [^] (36,891 bytes) 2019-02-02 12:52 update_order_after_change.png [^] (58,241 bytes) 2019-02-02 13:02 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0109455) hgbot (developer) 2019-02-02 13:02 |
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization Changeset: 975f579280a837ee41d2c5f399498d260a297c8c Author: Martin Taal <martin.taal <at> openbravo.com> Date: Sat Feb 02 13:02:10 2019 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/975f579280a837ee41d2c5f399498d260a297c8c [^] Fixes issue 40103: Sync error with specific flow related to BP Also touch BP to ensure correct order of creation --- M src-db/database/model/triggers/OBSTSYN_UPDATE_BPLOC_TRG.xml --- |
(0109461) hgbot (developer) 2019-02-03 11:20 |
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization Changeset: b84f1f35504df0b24c4c0b5d060b9b6e04eb629c Author: Martin Taal <martin.taal <at> openbravo.com> Date: Sun Feb 03 11:20:07 2019 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/b84f1f35504df0b24c4c0b5d060b9b6e04eb629c [^] Related to issue 40103: Sync error with specific flow related to BP Only needed to touch the location and bp in insert mode in other modes it is full bp sync --- M src-db/database/model/triggers/OBSTSYN_UPDATE_BPLOC_TRG.xml --- |
(0109533) hgbot (developer) 2019-02-04 15:50 |
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization Changeset: a5a8a0ed861bd9025c00d1d39c26248104a969db Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Mon Feb 04 15:50:45 2019 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/a5a8a0ed861bd9025c00d1d39c26248104a969db [^] Related with issue 40103: Trigger should be insert-only --- M src-db/database/model/triggers/OBSTSYN_UPDATE_BPLOC_TRG.xml --- |
(0109535) AugustoMauch (manager) 2019-02-04 16:04 |
Code reviewed and verified |
Issue History | |||
Date Modified | Username | Field | Change |
2019-02-01 13:17 | mtaal | New Issue | |
2019-02-01 13:17 | mtaal | Assigned To | => mtaal |
2019-02-01 13:17 | mtaal | File Added: sync_bp_error_1feb.csv | |
2019-02-01 13:17 | mtaal | Triggers an Emergency Pack | => No |
2019-02-02 12:52 | mtaal | File Added: add_loc_before_change.png | |
2019-02-02 13:02 | hgbot | Checkin | |
2019-02-02 13:02 | hgbot | Note Added: 0109455 | |
2019-02-02 13:02 | hgbot | Status | new => resolved |
2019-02-02 13:02 | hgbot | Resolution | open => fixed |
2019-02-02 13:02 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/975f579280a837ee41d2c5f399498d260a297c8c [^] |
2019-02-02 13:02 | mtaal | File Added: update_order_after_change.png | |
2019-02-02 13:03 | mtaal | Review Assigned To | => AugustoMauch |
2019-02-02 13:06 | mtaal | Relationship added | has duplicate 0039730 |
2019-02-03 11:20 | hgbot | Checkin | |
2019-02-03 11:20 | hgbot | Note Added: 0109461 | |
2019-02-04 15:50 | hgbot | Checkin | |
2019-02-04 15:50 | hgbot | Note Added: 0109533 | |
2019-02-04 16:04 | AugustoMauch | Note Added: 0109535 | |
2019-02-04 16:04 | AugustoMauch | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |