Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0037353 | Retail Modules | StoreServer | public | 2017-11-22 11:21 | 2017-12-13 22:18 | |||||||
Reporter | ioritzCia | |||||||||||
Assigned To | AugustoMauch | |||||||||||
Priority | high | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 30 | OS Version | CentOS 6 | ||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | mtaal | |||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0037353: EM_OBRETCO_RETAILORGTYPE column for orgs not in natural tree dataset should be excluded | |||||||||||
Description | Dataset for organizations not in natural tree should exclude EM_OBRETCO_RETAILORGTYPE column. Stores that are not in naturall tree are exported excluding EM_OBRETCO_C_BPARTNER_ID and EM_OBRETCO_C_BP_LOCATION_ID columns and there is EM_OBRETCO_ORG_POS_CHK check constraing which does not allow for EM_OBRETCO_RETAILORGTYPE = 'S' rows to have them empty. This makes install.source in the store server to give an error. Remember to exclude from symmetric synchronization. | |||||||||||
Steps To Reproduce | In a multiserver environment with more than one store not in the same natural tree. Export one store Import it with install source This error appears in the install source: SQL Command failed with: ERROR: check constraint "em_obretco_org_pos_chk" is violated by some row -- END ALTER TABLE AD_ORG ADD CONSTRAINT EM_OBRETCO_ORG_POS_CHK CHECK (EM_OBRETCO_RETAILORGTYPE = 'S' AND EM_OBRETCO_C_BPARTNER_ID IS NOT NULL AND EM_OBRETCO_C_BP_LOCATION_ID IS NOT NULL OR EM_OBRETCO_RETAILORGTYPE <> 'S') | |||||||||||
Proposed Solution | Dataset for organizations not in natural tree should exclude EM_OBRETCO_RETAILORGTYPE column | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-11-22 11:21 | ioritzCia | New Issue | ||||||||||
2017-11-22 11:21 | ioritzCia | Assigned To | => StoreServer | |||||||||
2017-11-22 11:21 | ioritzCia | Resolution time | => 1512687600 | |||||||||
2017-11-22 11:21 | ioritzCia | Triggers an Emergency Pack | => No | |||||||||
2017-11-22 11:21 | ioritzCia | OS Version | Openbravo Appliance 14.04 => CentOS 6 | |||||||||
2017-11-22 11:37 | ioritzCia | Description Updated | bug_revision_view_page.php?rev_id=16338#r16338 | |||||||||
2017-11-30 11:29 | mtaal | Relationship added | caused by 0037204 | |||||||||
2017-11-30 11:30 | mtaal | Note Added: 0100828 | ||||||||||
2017-11-30 11:30 | mtaal | Assigned To | StoreServer => AugustoMauch | |||||||||
2017-12-13 15:20 | hgbot | Checkin | ||||||||||
2017-12-13 15:20 | hgbot | Note Added: 0101016 | ||||||||||
2017-12-13 15:20 | hgbot | Status | new => resolved | |||||||||
2017-12-13 15:20 | hgbot | Resolution | open => fixed | |||||||||
2017-12-13 15:20 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/83f73488abc97cb62861dd2fb137e08ab1f994c1 [^] | |||||||||
2017-12-13 21:54 | mtaal | Review Assigned To | => mtaal | |||||||||
2017-12-13 22:18 | mtaal | Note Added: 0101026 | ||||||||||
2017-12-13 22:18 | mtaal | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|