Notes |
|
|
Test plan:
In a 3.0PR15Q1 instance or higher, follow steps to reproduce.
Verify no error is raised by the background process |
|
|
(0078083)
|
hgbot
|
2015-06-04 16:10
|
|
Repository: erp/pmods/org.openbravo.contract.services
Changeset: c5cfc1c84a05480533f48febc80399db55e0047d
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Thu Jun 04 15:38:48 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.contract.services/rev/c5cfc1c84a05480533f48febc80399db55e0047d [^]
Fixed bug 30093: Contract Billing Background finishes with Error after 3.0PR15Q1
In case the Billing process is launched from a background process, the HttpSession is null creating a NPE starting from 3.0PR15Q1.
The solution is to catch this exception and force to use a dummy sessionId, which is not used when launched from a background process.
This change has no impact when executed before 3.0PR15Q1
---
M src/org/openbravo/contract/services/process/billing/StandardContractInvoiceProcess.java
---
|
|
|
(0078084)
|
hgbot
|
2015-06-04 16:10
|
|
Repository: erp/pmods/org.openbravo.contract.services
Changeset: f39c5bf7bfa27b99af23d9e14fc55b0c477be9c3
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Thu Jun 04 15:38:48 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.contract.services/rev/f39c5bf7bfa27b99af23d9e14fc55b0c477be9c3 [^]
Fixed bug 30093: Contract Billing Background finishes with Error after 3.0PR15Q1
In case the Billing process is launched from a background process, the HttpSession is null creating a NPE starting from 3.0PR15Q1.
The solution is to catch this exception and force to use a dummy sessionId, which is not used when launched from a background process.
This change has no impact when executed before 3.0PR15Q1
---
M src/org/openbravo/contract/services/process/billing/StandardContractInvoiceProcess.java
---
|
|
|
(0078085)
|
hgbot
|
2015-06-04 16:10
|
|
Repository: erp/pmods/org.openbravo.contract.services
Changeset: 18e03aff655b92a704a98a3d9ff65181820f47ce
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Thu Jun 04 15:38:48 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.contract.services/rev/18e03aff655b92a704a98a3d9ff65181820f47ce [^]
Fixed bug 30093: Contract Billing Background finishes with Error after 3.0PR15Q1
In case the Billing process is launched from a background process, the HttpSession is null creating a NPE starting from 3.0PR15Q1.
The solution is to catch this exception and force to use a dummy sessionId, which is not used when launched from a background process.
This change has no impact when executed before 3.0PR15Q1
---
M src/org/openbravo/contract/services/process/billing/StandardContractInvoiceProcess.java
---
|
|