Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0034287 | Retail Modules | Web POS | public | 2016-10-24 18:48 | 2020-04-14 15:10 |
Reporter | eduardo_Argal | ||||
Assigned To | eduardo_Argal | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
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 | 0034287: Entity vs Import Qualifier | ||||
Description | Havning a process with a service defined as Transaction (so it does use queues, import entries) As you know for this processes we define: - An entity: @DataSynchronization(entity = "XXX") - An import qualifier: protected String getImportQualifier() { return "YYY"; } We were always assuming that this XXX = YYY, but this is not correct. For example in the case of Cancel Layaway the entity behind is a Layaway (Order) but the import qualifier should be the process: OBPOS_CancelLayaway (for example). We noticed this due to an error that now is thrown due to the validation you added for synchronized mode (afterReturnFromCentral). This validation is querying to retrieve the record in the other server (check DS). As we were using process name as entity, process was failing when trying to get object behind 'id' for non existing entity (OBPOS_CancelLayaway). This took me to change entity = Order, importQaulifier = OBPOS_CancelLayaway. and this worked fine. But as well a new problem raised. Let me explain, when preference for synchronized is not there (equals 'N') and an error occurs, an import error is raised and there the API is using entity for the importdatatype. That's a problem because I think it should map to the importQualifier (so that process can be run again when fixing error) | ||||
Steps To Reproduce | Create a Layaway in an env with synchronized preference equals Y. Cancel it using cancel Layaway process. System fails due to wrong entity (OBPOS_CancelLayaway). | ||||
Proposed Solution | Find patches attached | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | posterminal.diff (4,258) 2016-10-24 18:48 https://issues.openbravo.com/file_download.php?file_id=9950&type=bug mobile.core (1).diff (2,282) 2016-10-24 18:49 https://issues.openbravo.com/file_download.php?file_id=9951&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2016-10-24 18:48 | eduardo_Argal | New Issue | |||
2016-10-24 18:48 | eduardo_Argal | Assigned To | => adrianromero | ||
2016-10-24 18:48 | eduardo_Argal | File Added: posterminal.diff | |||
2016-10-24 18:49 | eduardo_Argal | File Added: mobile.core (1).diff | |||
2016-10-24 18:49 | eduardo_Argal | Assigned To | adrianromero => eduardo_Argal | ||
2016-10-26 17:48 | hgbot | Checkin | |||
2016-10-26 17:48 | hgbot | Note Added: 0090930 | |||
2016-10-26 17:48 | hgbot | Status | new => resolved | ||
2016-10-26 17:48 | hgbot | Resolution | open => fixed | ||
2016-10-26 17:48 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/85e0af60e83bb6b3ec99ac157aa778d3dfb0218a [^] | ||
2016-10-26 17:49 | hgbot | Checkin | |||
2016-10-26 17:49 | hgbot | Note Added: 0090931 | |||
2016-11-04 10:27 | hgbot | Checkin | |||
2016-11-04 10:27 | hgbot | Note Added: 0091164 | |||
2016-11-07 11:49 | mtaal | Review Assigned To | => mtaal | ||
2016-11-15 10:25 | mtaal | Note Added: 0091538 | |||
2016-11-15 10:25 | mtaal | Status | resolved => new | ||
2016-11-15 10:25 | mtaal | Resolution | fixed => open | ||
2016-12-30 13:37 | hgbot | Checkin | |||
2016-12-30 13:37 | hgbot | Note Added: 0093074 | |||
2016-12-30 13:37 | hgbot | Checkin | |||
2016-12-30 13:37 | hgbot | Note Added: 0093076 | |||
2016-12-30 13:37 | hgbot | Checkin | |||
2016-12-30 13:37 | hgbot | Note Added: 0093078 | |||
2020-04-14 15:10 | marvintm | Project | Java Client POS => Retail Modules | ||
2020-04-14 15:10 | marvintm | Triggers an Emergency Pack | => No | ||
2020-04-14 15:10 | marvintm | Category | 01 - General => Web POS |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|