Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0022472 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 04. Warehouse management | minor | always | 2012-12-06 12:27 | 2013-01-31 16:39 | |||
Reporter | VictorVillar | View Status | public | |||||
Assigned To | jonalegriaesarte | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 5c5c67b62ba4 | ||||
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 | ||||||
Review Assigned To | VictorVillar | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0022472: NPE error launching the valued stock report | |||||||
Description | NPE error launching the valued stock report, if you have the warehouse selected in the filters, defined as * organization level. | |||||||
Steps To Reproduce | As group admin role, Go to Warehouse and Storage bin window. Create a new one for * Org. level Go to Valued stock report and launch the report for the warehouse created before. Null Pointer Exception error | |||||||
Proposed Solution | Remove from ReportValuationStock.java: String strBaseCurrencyId = (String)DalUtil.getId(FinancialUtils.getLegalEntityCurrency(wh .getOrganization())); Because this variable is not used in the java and is looking for the currency of the organization assigned to the warehouse selected | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0054891) hgbot (developer) 2012-12-12 14:13 |
Repository: erp/devel/pi Changeset: c3ef43ecb754cb141bb84538c1b0aba0297f5f48 Author: Jon AlegrÃa <jon.alegria <at> openbravo.com> Date: Wed Dec 12 14:13:24 2012 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/c3ef43ecb754cb141bb84538c1b0aba0297f5f48 [^] Fixes issue 0022472: NPE error launching the valued stock report --- M src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.java --- |
(0054994) hudsonbot (developer) 2012-12-17 13:34 |
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/c79ef1b1f830 [^] Maturity status: Test |
(0055181) VictorVillar (developer) 2012-12-24 16:33 edited on: 2013-01-10 10:25 |
is not completly solved because legalEntity is null due to * organization is not legal entity, check the following code. The fix purposed previously is not complete. Organization legalEntity = OBContext.getOBContext() .getOrganizationStructureProvider(wh.getClient().getId()) .getLegalEntity(wh.getOrganization()); data = ReportValuationStockData.select(this, vars.getLanguage(), strCurrencyId, legalEntity.getId(), DateTimeData.nDaysAfter(this, strDate, "1"), strWarehouse, strCategoryProduct); |
(0055741) hgbot (developer) 2013-01-22 16:59 |
Repository: erp/devel/pi Changeset: 5c5c67b62ba45a46e43a2c609c2e7d7a755b567d Author: Ioritz Cia <ioritz.cia <at> openbravo.com> Date: Mon Jan 21 12:51:08 2013 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/5c5c67b62ba45a46e43a2c609c2e7d7a755b567d [^] Fixes issue 22472: NPE error launching the valued stock report. --- M src-db/database/sourcedata/AD_MESSAGE.xml M src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.java --- |
(0055747) hudsonbot (developer) 2013-01-23 01:15 |
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/8d2ab0cc2b3d [^] Maturity status: Test |
(0056020) VictorVillar (developer) 2013-01-31 16:39 |
Verified |
Issue History | |||
Date Modified | Username | Field | Change |
2012-12-06 12:27 | VictorVillar | New Issue | |
2012-12-06 12:27 | VictorVillar | Assigned To | => dmiguelez |
2012-12-06 12:27 | VictorVillar | Modules | => Core |
2012-12-06 12:27 | VictorVillar | Resolution time | => 1357167600 |
2012-12-06 12:27 | VictorVillar | Triggers an Emergency Pack | => No |
2012-12-06 12:27 | VictorVillar | Issue Monitored: networkb | |
2012-12-10 09:37 | dmiguelez | Assigned To | dmiguelez => jonalegriaesarte |
2012-12-12 14:13 | hgbot | Checkin | |
2012-12-12 14:13 | hgbot | Note Added: 0054891 | |
2012-12-12 14:13 | hgbot | Status | new => resolved |
2012-12-12 14:13 | hgbot | Resolution | open => fixed |
2012-12-12 14:13 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/c3ef43ecb754cb141bb84538c1b0aba0297f5f48 [^] |
2012-12-17 13:34 | hudsonbot | Checkin | |
2012-12-17 13:34 | hudsonbot | Note Added: 0054994 | |
2012-12-24 16:33 | VictorVillar | Note Added: 0055181 | |
2012-12-24 16:33 | VictorVillar | Status | resolved => new |
2012-12-24 16:33 | VictorVillar | Resolution | fixed => open |
2013-01-09 11:26 | jonalegriaesarte | Target Version | 3.0MP19 => 3.0MP20 |
2013-01-10 10:25 | VictorVillar | Note Edited: 0055181 | View Revisions |
2013-01-21 16:49 | jonalegriaesarte | Severity | major => minor |
2013-01-22 16:59 | hgbot | Checkin | |
2013-01-22 16:59 | hgbot | Note Added: 0055741 | |
2013-01-22 16:59 | hgbot | Status | new => resolved |
2013-01-22 16:59 | hgbot | Resolution | open => fixed |
2013-01-22 16:59 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/c3ef43ecb754cb141bb84538c1b0aba0297f5f48 [^] => http://code.openbravo.com/erp/devel/pi/rev/5c5c67b62ba45a46e43a2c609c2e7d7a755b567d [^] |
2013-01-23 01:15 | hudsonbot | Checkin | |
2013-01-23 01:15 | hudsonbot | Note Added: 0055747 | |
2013-01-31 16:39 | VictorVillar | Review Assigned To | => VictorVillar |
2013-01-31 16:39 | VictorVillar | Note Added: 0056020 | |
2013-01-31 16:39 | VictorVillar | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |