Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0022774 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] 09. Financial management | major | always | 2013-01-11 09:28 | 2013-02-04 13:55 | |||
| Reporter | VictorVillar | View Status | public | |||||
| Assigned To | jecharri | |||||||
| Priority | urgent | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | c23ede3e6755 | ||||
| Projection | none | ETA | none | Target Version | 3.0MP20 | |||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | pi | SCM revision | ||||||
| Merge Request Status | ||||||||
| Review Assigned To | VictorVillar | |||||||
| OBNetwork customer | OBPS | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | 18893 | |||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0022774: Null Pointer Exception when you post a goods movement with movement qty = 0 | |||||||
| Description | Null Pointer Exception when you post a goods movement with movement qty = 0 | |||||||
| Steps To Reproduce | As group Admin role, Go to Goods Movements window Create a new register: F&B US Inc. Navigate to Lines tab: Product: Cerveza Ale Movement qty = 0 from: WC- 0-0-1 to: WC- 0-0-0 Process it adn post it. An error message appears: Process failed during execution Checking the log: Null Pointer Exception Because on DocMovement.java Line: 198 is not any IF condition checking if 'dr' is null, the same as 'cr'. Looking at DocInOut.java where exists these conditions. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Notes |
|
|
(0055945) hgbot (developer) 2013-01-29 13:32 |
Repository: erp/devel/pi Changeset: c23ede3e675577b08c00218af62017aec52e65a5 Author: Javier Etxarri <javier.echarri <at> openbravo.com> Date: Tue Jan 29 13:31:32 2013 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/c23ede3e675577b08c00218af62017aec52e65a5 [^] Fixes issue 22774: Null Pointer Exception when you post a goods movement with movement qty = 0 --- M src-db/database/model/functions/M_MOVEMENT_POST.xml M src-db/database/sourcedata/AD_MESSAGE.xml M src/org/openbravo/erpCommon/ad_forms/DocMovement.java --- |
|
(0055995) jecharri (viewer) 2013-01-31 09:59 |
Test cases: -verify that currently you can not process a "goods movement" if you have one line with qty = 0. Check it when you have only one line or when you have more lines and one of them has qty = 0 -If you come from old version and you were able to process, verify that now you can post if you have more than the qty=0 line. |
|
(0056081) hudsonbot (viewer) 2013-02-01 22:28 |
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/b070aa80fc76 [^] Maturity status: Test |
|
(0056131) VictorVillar (viewer) 2013-02-04 13:55 |
Verified |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2013-01-11 09:28 | VictorVillar | New Issue | |
| 2013-01-11 09:28 | VictorVillar | Assigned To | => dmiguelez |
| 2013-01-11 09:28 | VictorVillar | Modules | => Core |
| 2013-01-11 09:28 | VictorVillar | OBNetwork customer | => Yes |
| 2013-01-11 09:28 | VictorVillar | Support ticket | => 18893 |
| 2013-01-11 09:28 | VictorVillar | Resolution time | => 1360710000 |
| 2013-01-11 09:28 | VictorVillar | Triggers an Emergency Pack | => No |
| 2013-01-11 09:30 | VictorVillar | Issue Monitored: networkb | |
| 2013-01-11 10:10 | naiaramartinez | Assigned To | dmiguelez => jonalegriaesarte |
| 2013-01-28 13:55 | jonalegriaesarte | Assigned To | jonalegriaesarte => jecharri |
| 2013-01-29 13:32 | hgbot | Checkin | |
| 2013-01-29 13:32 | hgbot | Note Added: 0055945 | |
| 2013-01-29 13:32 | hgbot | Status | new => resolved |
| 2013-01-29 13:32 | hgbot | Resolution | open => fixed |
| 2013-01-29 13:32 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/c23ede3e675577b08c00218af62017aec52e65a5 [^] |
| 2013-01-31 09:59 | jecharri | Note Added: 0055995 | |
| 2013-02-01 22:28 | hudsonbot | Checkin | |
| 2013-02-01 22:28 | hudsonbot | Note Added: 0056081 | |
| 2013-02-04 13:55 | VictorVillar | Review Assigned To | => VictorVillar |
| 2013-02-04 13:55 | VictorVillar | Note Added: 0056131 | |
| 2013-02-04 13:55 | VictorVillar | Status | resolved => closed |
| Copyright © 2000 - 2009 MantisBT Group |