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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034019
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 03. Procurement managementmajoralways2016-09-19 15:402016-09-19 21:28
ReporterlorenzofidalgoView Statuspublic 
Assigned Tomarkmm82 
PriorityimmediateResolutionfixedFixed in Version3.0PR16Q3.2
StatusclosedFix in branchFixed in SCM revision726588248717
ProjectionnoneETAnoneTarget Version3.0PR16Q3.2
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

0034019: 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
(0090083)
hgbot (developer)
2016-09-19 21:27

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

Fixes issue 34019: 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
---
(0090085)
aferraz (developer)
2016-09-19 21:28

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.0PR16Q3.2
2016-09-19 21:27 hgbot Checkin
2016-09-19 21:27 hgbot Note Added: 0090083
2016-09-19 21:27 hgbot Status scheduled => resolved
2016-09-19 21:27 hgbot Resolution open => fixed
2016-09-19 21:27 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR16Q3.2/rev/72658824871766a8bacb704335f292600cca4957 [^]
2016-09-19 21:28 aferraz Review Assigned To => aferraz
2016-09-19 21:28 aferraz Note Added: 0090085
2016-09-19 21:28 aferraz Status resolved => closed
2016-09-19 21:28 aferraz Fixed in Version => 3.0PR16Q3.2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker