Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036037
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2017-05-18 11:442017-06-02 14:08
ReporterguillermogilView Statuspublic 
Assigned Tomigueldejuana 
PriorityurgentResolutionfixedFixed in VersionRR17Q3
StatusclosedFix in branchFixed in SCM revisione27823a9673d
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0036037: PostImportEntry hook is getting executed even if the record goes to Errors While Importing window

DescriptionPostImportEntry 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 ReproducePut 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


TagsNo tags attached.
Attached Filesdiff file icon issue36037mobile.diff [^] (1,688 bytes) 2017-05-22 19:33 [Show Content]
diff file icon issue36037pi.diff [^] (2,557 bytes) 2017-05-22 19:33 [Show Content]
diff file icon issue36037-2.diff [^] (802 bytes) 2017-05-24 13:12 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0041109 newTriage Platform Base Openbravo ERP Improvements in ImportEntryPreProcessor/ImportEntryPostProcessor 
causes defect 0049438 closedranjith_qualiantech_com Retail Modules PostImportEntry is not being executed in some escenarios with multiple documents 

-  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
Powered by Mantis Bugtracker