Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030070Openbravo ERP09. Financial managementpublic2015-06-02 11:532015-06-03 18:55
aferraz 
aferraz 
immediateminoralways
closedfixed 
30Professional Appliance
 
3.0PR15Q3 
vmromanos
Core
Coding ( Testing )
2015-05-29
pi
https://code.openbravo.com/erp/devel/pi/rev/093fb9ca1c6d340260547fedf9fbc79ef60e5976 [^]
No
0030070: NPE in Payment In/Out Lines when navigating from Order/Invoice Payment Schedule and it is null
Null Pointer Exception in Payment In Lines tab or Payment Out Lines tab, when navigating from Order Payment Schedule field or Invoice Payment Schedule field and it is null.
- Go to Payment In window and create a header.
- Click on Add Details and add a line related to a GLItem (and not to a order nor to an invoice)
- Move to Lines tab. Click on Order Payment Schedule field to navigate to Sales Order Payment Plan tab.
- Realize a Null Pointer Exception is raised.
- Move to Lines tab. Click on Invoice Payment Schedule field to navigate to Sales Invoice Payment Plan tab.
- Realize a Null Pointer Exception is raised.
No tags attached.
caused by design defect 0025355 closed fsoto82 Long time to show the lines on the payment in/out windows 
Issue History
2015-06-02 11:53aferrazNew Issue
2015-06-02 11:53aferrazAssigned To => aferraz
2015-06-02 11:53aferrazModules => Core
2015-06-02 11:53aferrazRegression level => Coding ( Testing )
2015-06-02 11:53aferrazRegression date => 2015-05-29
2015-06-02 11:53aferrazRegression introduced in release => pi
2015-06-02 11:53aferrazRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/093fb9ca1c6d340260547fedf9fbc79ef60e5976 [^]
2015-06-02 11:53aferrazTriggers an Emergency Pack => No
2015-06-02 12:01aferrazRelationship addedcaused by 0025355
2015-06-02 14:40aferrazStatusnew => scheduled
2015-06-02 18:15hgbotCheckin
2015-06-02 18:15hgbotNote Added: 0077999
2015-06-02 18:15hgbotStatusscheduled => resolved
2015-06-02 18:15hgbotResolutionopen => fixed
2015-06-02 18:15hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/72a46a4bb692a86e40761dc2b30b0f2518e586ac [^]
2015-06-02 18:15hgbotCheckin
2015-06-02 18:15hgbotNote Added: 0078000
2015-06-02 18:16vmromanosReview Assigned To => vmromanos
2015-06-02 18:16vmromanosNote Added: 0078001
2015-06-02 18:16vmromanosStatusresolved => closed
2015-06-03 18:55hudsonbotCheckin
2015-06-03 18:55hudsonbotNote Added: 0078041
2015-06-03 18:55hudsonbotCheckin
2015-06-03 18:55hudsonbotNote Added: 0078042

Notes
(0077999)
hgbot   
2015-06-02 18:15   
Repository: erp/devel/pi
Changeset: 72a46a4bb692a86e40761dc2b30b0f2518e586ac
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Tue Jun 02 11:59:51 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/72a46a4bb692a86e40761dc2b30b0f2518e586ac [^]

Fixes issue 30070: NPE when navigating from Payment In/Out Lines tab

ReferencedLink was checking reference record when navigating from Order Payment Schedule or Invoice Payment Schedule fields from Payment In Lines or Payment Out Lines tab; in order to know where the record had to navigate to.
When the value of this field was empty, a Null Pointer Exception was raised. Now, in this case, a "Record empty" exception will be raised.
Also, those fields will be now not displayed if their value is empty.
Duplicated Order Payment Schedule and Invoice Payment Schedule fields have been removed also in those tabs, what was causing an error in int-full-oracle-compile-all job.

---
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/erpCommon/utility/ReferencedLink.java
---
(0078000)
hgbot   
2015-06-02 18:15   
Repository: erp/devel/pi
Changeset: cf75c68bd2e0fe65361b3cfbd4c9e8894a8cd312
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Tue Jun 02 18:13:05 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/cf75c68bd2e0fe65361b3cfbd4c9e8894a8cd312 [^]

Related to issue 30070: code review improvements

Improved exception message with a bit of context.
Set Document No. related fields as centrally maintained = N and renamed to Invoice No. and Order No.

---
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/erpCommon/utility/ReferencedLink.java
---
(0078001)
vmromanos   
2015-06-02 18:16   
Code review + testing OK
(0078041)
hudsonbot   
2015-06-03 18:55   
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/084e25f8f2cd [^]
Maturity status: Test
(0078042)
hudsonbot   
2015-06-03 18:55   
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/084e25f8f2cd [^]
Maturity status: Test