Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0031461Openbravo ERPA. Platformpublic2015-11-13 11:192015-11-23 21:17
mtaal 
mtaal 
normalminorhave not tried
closedfixed 
5
 
3.0PR16Q1 
alostale
Core
No
0031461: Add property to prevent import process threads to run in instance
For background processes there is a setting from preventing running in the background for specific instances. See the background.policy described here:
http://wiki.openbravo.com/wiki/Openbravo.properties#Others [^]

For the import process threads we need something similar. If there are multiple application servers using the same database server then only one of the instances should process import entries, not the other ones.
See description
add a property import.disable.process, see here:
http://wiki.openbravo.com/wiki/Retail:Configuration_Guide#Configuring_Web_POS_Import_Transaction_Process [^]
No tags attached.
Issue History
2015-11-13 11:19mtaalNew Issue
2015-11-13 11:19mtaalAssigned To => platform
2015-11-13 11:19mtaalModules => Core
2015-11-13 11:19mtaalTriggers an Emergency Pack => No
2015-11-13 11:23mtaalNote Added: 0081811
2015-11-13 16:01hgbotCheckin
2015-11-13 16:01hgbotNote Added: 0081830
2015-11-13 16:01hgbotStatusnew => resolved
2015-11-13 16:01hgbotResolutionopen => fixed
2015-11-13 16:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8953f39e61ca4aa0ee524173478984548096997b [^]
2015-11-13 16:02hgbotCheckin
2015-11-13 16:02hgbotNote Added: 0081831
2015-11-13 16:02mtaalReview Assigned To => alostale
2015-11-16 14:33alostaleAssigned Toplatform => mtaal
2015-11-16 15:14alostaleNote Added: 0081889
2015-11-16 15:14alostaleStatusresolved => closed
2015-11-16 15:14alostaleFixed in Version => 3.0PR16Q1
2015-11-23 21:17hudsonbotCheckin
2015-11-23 21:17hudsonbotNote Added: 0082227
2015-11-23 21:17hudsonbotCheckin
2015-11-23 21:17hudsonbotNote Added: 0082228

Notes
(0081811)
mtaal   
2015-11-13 11:23   
Documented here:
http://wiki.openbravo.com/wiki/Retail:Configuration_Guide#Configuring_Web_POS_Import_Transaction_Process [^]

linked from here:
http://wiki.openbravo.com/wiki/Openbravo.properties#Others [^]
(0081830)
hgbot   
2015-11-13 16:01   
Repository: erp/devel/pi
Changeset: 8953f39e61ca4aa0ee524173478984548096997b
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Nov 13 11:33:39 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/8953f39e61ca4aa0ee524173478984548096997b [^]

Fixes issue 31461: Add property to prevent import process threads to run in instance
Prevent threads from starting if import.disable.process property is set to true

---
M src/org/openbravo/service/importprocess/ImportEntryManager.java
M src/org/openbravo/service/importprocess/ImportProcessUtils.java
---
(0081831)
hgbot   
2015-11-13 16:02   
Repository: erp/devel/pi
Changeset: 6c157f30e17ffb134c9605dde2ebd6fe7bd3f3ef
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Nov 13 12:14:29 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/6c157f30e17ffb134c9605dde2ebd6fe7bd3f3ef [^]

Related to issue 31461: Add property to prevent import process threads to run in instance
Prevent NPE when entries are created

---
M src/org/openbravo/service/importprocess/ImportEntryManager.java
---
(0081889)
alostale   
2015-11-16 15:14   
code reviewed + tested
(0082227)
hudsonbot   
2015-11-23 21:17   
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/7b56bebaaa88 [^]
Maturity status: Test
(0082228)
hudsonbot   
2015-11-23 21:17   
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/7b56bebaaa88 [^]
Maturity status: Test