Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034020
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 03. Procurement managementmajoralways2016-09-19 15:402016-09-19 21:30
ReporterlorenzofidalgoView Statuspublic 
Assigned Tomarkmm82 
PriorityimmediateResolutionfixedFixed in Version3.0PR16Q2.3
StatusclosedFix in branchFixed in SCM revision1ac14eb96650
ProjectionnoneETAnoneTarget Version3.0PR16Q2.3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Toaferraz
Web browserGoogle Chrome, Mozilla Firefox
ModulesCore
Regression levelPre packaging ( pi )
Regression date
Regression introduced in releasepi
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034020: Posting a Purchase Invoice is not possible with "F&B España, S.A. - Finanace - F&B International Group" role. NPE is thrown

DescriptionTrying to post a Purchase Invoice an error message is thrown with the following message: "java.lang.NullPointerException".
I have been able to reproduce this issue in pi but not in main.
Steps To Reproduce0-Login POS as Openbravo and using F&B España, S.A. - Finanace - F&B International Group role, go to "Purchase Invoice" window.
1-Click "Create a new record in form" button and choose "Bebidas Alegres, S.L." as "Business Partner".
2-Go to "Lines" tab and create a new record. Select "Cerveza Ale 0,5L" in "Product" field.
3-Save and Complete that record.
4-Now, try to Post that record. DEFECT: An error message with the following message will appear: "java.lang.NullPointerException".(check attached image).
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0034018 closedmarkmm82 Posting a Purchase Invoice is not possible with "F&B España, S.A. - Finanace - F&B International Group" role. NPE is thrown 

-  Notes
(0090086)
hgbot (developer)
2016-09-19 21:29

Repository: erp/backports/3.0PR16Q2.3
Changeset: 1ac14eb96650005b6cb992bb8ce710b1acc6f181
Author: Mark <markmm82 <at> gmail.com>
Date: Mon Sep 19 11:33:17 2016 -0400
URL: http://code.openbravo.com/erp/backports/3.0PR16Q2.3/rev/1ac14eb96650005b6cb992bb8ce710b1acc6f181 [^]

Fixes issue 34020: Is possible posting a Purchase Invoice with Finance role

Modified the OrganizationStructureProvider.getPeriodControlAllowedOrganization() method to execute in Admin mode.

---
M src/org/openbravo/dal/security/OrganizationStructureProvider.java
---
(0090087)
hgbot (developer)
2016-09-19 21:29

Repository: erp/backports/3.0PR16Q2.3
Changeset: 394c14ba6742e27301ce9b0b8a047213c68e761f
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Mon Sep 19 21:28:47 2016 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR16Q2.3/rev/394c14ba6742e27301ce9b0b8a047213c68e761f [^]

Related to issue 34020: Update copyright

---
M src/org/openbravo/dal/security/OrganizationStructureProvider.java
---
(0090088)
aferraz (manager)
2016-09-19 21:30

Code review + Testing OK

- Issue History
Date Modified Username Field Change
2016-09-19 16:00 aferraz Type defect => backport
2016-09-19 16:00 aferraz Target Version => 3.0PR16Q2.3
2016-09-19 21:29 hgbot Checkin
2016-09-19 21:29 hgbot Note Added: 0090086
2016-09-19 21:29 hgbot Status scheduled => resolved
2016-09-19 21:29 hgbot Resolution open => fixed
2016-09-19 21:29 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR16Q2.3/rev/1ac14eb96650005b6cb992bb8ce710b1acc6f181 [^]
2016-09-19 21:29 hgbot Checkin
2016-09-19 21:29 hgbot Note Added: 0090087
2016-09-19 21:30 aferraz Review Assigned To => aferraz
2016-09-19 21:30 aferraz Note Added: 0090088
2016-09-19 21:30 aferraz Status resolved => closed
2016-09-19 21:30 aferraz Fixed in Version => 3.0PR16Q2.3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker