Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0036037 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2017-05-18 11:44 | 2017-06-02 14:08 | |||
Reporter | guillermogil | View Status | public | |||||
Assigned To | migueldejuana | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | RR17Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | e27823a9673d | ||||
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 | marvintm | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0036037: PostImportEntry hook is getting executed even if the record goes to Errors While Importing window | |||||||
Description | PostImportEntry hook is getting executed even if the record goes to Errors While Importing window. It shoould not call to PostImportEntry if the record fails, it can rely on several Sync errors if there are some third party listening to it. Also it is a performance issue due to not needed calls. | |||||||
Steps To Reproduce | Put a Breakpoint in ImportEntryProcessor.java in Execute post process hooks. * Close the current period in the backend * Login on WebPOS * Create an order The order has gone to errors and still the breakpoint has raised -> NOK * Do a cashup The cashup has gone to errors and still the breakpoint has raised -> NOK * Open the periods * Save Again the orders Breakpoint raises -> OK | |||||||
Tags | No tags attached. | |||||||
Attached Files | issue36037mobile.diff [^] (1,688 bytes) 2017-05-22 19:33 [Show Content]
issue36037pi.diff [^] (2,557 bytes) 2017-05-22 19:33 [Show Content] issue36037-2.diff [^] (802 bytes) 2017-05-24 13:12 [Show Content] | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||||
|
Notes | |
(0097042) hgbot (developer) 2017-05-31 09:38 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 909dd683aea85abf1fb4541c0a3128539d2505b2 Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Tue May 30 17:11:57 2017 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/909dd683aea85abf1fb4541c0a3128539d2505b2 [^] Fixed issue 0036037: PostImportEntry hook is getting executed even if the record goes to Errors While Importing window - Move hooks to MobileImportEntryProcessorRunnable and execute them just when success --- M src/org/openbravo/mobile/core/process/DataSynchronizationProcess.java M src/org/openbravo/mobile/core/process/MobileImportEntryProcessorRunnable.java --- |
(0097044) hgbot (developer) 2017-05-31 09:42 |
Repository: erp/devel/pi Changeset: 302d949e828a772c0778017126f54b8563a9d6ec Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Tue May 30 17:12:16 2017 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/302d949e828a772c0778017126f54b8563a9d6ec [^] Fixed issue 0036037: PostImportEntry hook is getting executed even if the record goes to Errors While Importing window - Move hooks to MobileImportEntryProcessorRunnable and execute them just when success --- M src/org/openbravo/service/importprocess/ImportEntryPostProcessor.java M src/org/openbravo/service/importprocess/ImportEntryProcessor.java --- |
(0097050) marvintm (manager) 2017-05-31 14:03 |
getString should be get, otherwise the hooks are never executed, even if the result is correct. |
(0097057) hudsonbot (developer) 2017-05-31 15:23 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/e39fb42d847c [^] Maturity status: Test |
(0097094) hgbot (developer) 2017-06-02 09:35 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: e27823a9673d182099476617d87dd400100180c7 Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Thu Jun 01 13:02:00 2017 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/e27823a9673d182099476617d87dd400100180c7 [^] Fixed issue 0036037: PostImportEntry hook is getting executed even if the record goes to Errors While Importing window - Change getString by get --- M src/org/openbravo/mobile/core/process/MobileImportEntryProcessorRunnable.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2017-05-18 11:44 | guillermogil | New Issue | |
2017-05-18 11:44 | guillermogil | Assigned To | => Retail |
2017-05-18 11:44 | guillermogil | Resolution time | => 1496872800 |
2017-05-18 11:44 | guillermogil | Triggers an Emergency Pack | => No |
2017-05-18 11:48 | jorgewederago | Issue Monitored: jorgewederago | |
2017-05-22 19:33 | marvintm | File Added: issue36037mobile.diff | |
2017-05-22 19:33 | marvintm | File Added: issue36037pi.diff | |
2017-05-23 13:03 | marvintm | Assigned To | Retail => marvintm |
2017-05-23 13:03 | marvintm | Status | new => acknowledged |
2017-05-23 13:03 | marvintm | Status | acknowledged => scheduled |
2017-05-24 13:12 | marvintm | File Added: issue36037-2.diff | |
2017-05-25 11:59 | marvintm | Assigned To | marvintm => migueldejuana |
2017-05-31 09:38 | hgbot | Checkin | |
2017-05-31 09:38 | hgbot | Note Added: 0097042 | |
2017-05-31 09:38 | hgbot | Status | scheduled => resolved |
2017-05-31 09:38 | hgbot | Resolution | open => fixed |
2017-05-31 09:38 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/909dd683aea85abf1fb4541c0a3128539d2505b2 [^] |
2017-05-31 09:42 | hgbot | Checkin | |
2017-05-31 09:42 | hgbot | Note Added: 0097044 | |
2017-05-31 09:42 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/909dd683aea85abf1fb4541c0a3128539d2505b2 [^] => http://code.openbravo.com/erp/devel/pi/rev/302d949e828a772c0778017126f54b8563a9d6ec [^] |
2017-05-31 14:03 | marvintm | Note Added: 0097050 | |
2017-05-31 14:03 | marvintm | Status | resolved => new |
2017-05-31 14:03 | marvintm | Resolution | fixed => open |
2017-05-31 15:23 | hudsonbot | Checkin | |
2017-05-31 15:23 | hudsonbot | Note Added: 0097057 | |
2017-06-02 09:35 | hgbot | Checkin | |
2017-06-02 09:35 | hgbot | Note Added: 0097094 | |
2017-06-02 09:35 | hgbot | Status | new => resolved |
2017-06-02 09:35 | hgbot | Resolution | open => fixed |
2017-06-02 09:35 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/302d949e828a772c0778017126f54b8563a9d6ec [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/e27823a9673d182099476617d87dd400100180c7 [^] |
2017-06-02 14:08 | marvintm | Review Assigned To | => marvintm |
2017-06-02 14:08 | marvintm | Status | resolved => closed |
2017-06-02 14:08 | marvintm | Fixed in Version | => RR17Q3 |
2019-06-17 17:10 | caristu | Relationship added | related to 0041109 |
2022-05-30 15:05 | gorkaion | Relationship added | causes 0049438 |
Copyright © 2000 - 2009 MantisBT Group |