Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0030070 | Openbravo ERP | 09. Financial management | public | 2015-06-02 11:53 | 2015-06-03 18:55 |
|
Reporter | aferraz | |
Assigned To | aferraz | |
Priority | immediate | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 30 | OS Version | Professional Appliance |
Product Version | | |
Target Version | 3.0PR15Q3 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | vmromanos |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | Coding ( Testing ) |
Regression date | 2015-05-29 |
Regression introduced in release | pi |
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/093fb9ca1c6d340260547fedf9fbc79ef60e5976 [^] |
Triggers an Emergency Pack | No |
|
Summary | 0030070: NPE in Payment In/Out Lines when navigating from Order/Invoice Payment Schedule and it is null |
Description | 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. |
Steps To Reproduce | - 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. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | caused by | design defect | 0025355 | | closed | fsoto82 | Long time to show the lines on the payment in/out windows |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-06-02 11:53 | aferraz | New Issue | |
2015-06-02 11:53 | aferraz | Assigned To | => aferraz |
2015-06-02 11:53 | aferraz | Modules | => Core |
2015-06-02 11:53 | aferraz | Regression level | => Coding ( Testing ) |
2015-06-02 11:53 | aferraz | Regression date | => 2015-05-29 |
2015-06-02 11:53 | aferraz | Regression introduced in release | => pi |
2015-06-02 11:53 | aferraz | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/093fb9ca1c6d340260547fedf9fbc79ef60e5976 [^] |
2015-06-02 11:53 | aferraz | Triggers an Emergency Pack | => No |
2015-06-02 12:01 | aferraz | Relationship added | caused by 0025355 |
2015-06-02 14:40 | aferraz | Status | new => scheduled |
2015-06-02 18:15 | hgbot | Checkin | |
2015-06-02 18:15 | hgbot | Note Added: 0077999 | |
2015-06-02 18:15 | hgbot | Status | scheduled => resolved |
2015-06-02 18:15 | hgbot | Resolution | open => fixed |
2015-06-02 18:15 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/72a46a4bb692a86e40761dc2b30b0f2518e586ac [^] |
2015-06-02 18:15 | hgbot | Checkin | |
2015-06-02 18:15 | hgbot | Note Added: 0078000 | |
2015-06-02 18:16 | vmromanos | Review Assigned To | => vmromanos |
2015-06-02 18:16 | vmromanos | Note Added: 0078001 | |
2015-06-02 18:16 | vmromanos | Status | resolved => closed |
2015-06-03 18:55 | hudsonbot | Checkin | |
2015-06-03 18:55 | hudsonbot | Note Added: 0078041 | |
2015-06-03 18:55 | hudsonbot | Checkin | |
2015-06-03 18:55 | hudsonbot | Note 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
---
|
|
|
|
|
|
|
|
|
|
|