Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0038375 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 04. Warehouse management | major | always | 2018-04-16 13:25 | 2018-05-09 19:30 | |||
Reporter | dmiguelez | View Status | public | |||||
Assigned To | AtulOpenbravo | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR18Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | a1b63a73a71d | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | aferraz | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 1383 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0038375: Attribute selector in Task Window has problems with Role with limited access | |||||||
Description | Attribute selector in Task Window has problems with Role with limited access | |||||||
Steps To Reproduce | With AWO and AWO Sampledata installed Login as AWO QA Admin Create a new Role that has access to Organization: US West Coast Window: Task Create a new user and assign it to the previous role Create a new Purchase Order for US West Coast Organization, Be Soft Business Partner, US West Coast Warehouse Create a line for Laptop Battery Product with any possitive Ordered Quantity Book the order and click on Receive button. Log out and log in with the previously created user Go to Task window and select the previously created task. Click on the Confirmed Attribute selector and set any values. Click ok and check that an error is thrown: "org.openbravo.base.exception.OBSecurityException: Entity AttributeSet is not readable by the user xyz" | |||||||
Proposed Solution | In AttributeSetInstance class In Line 152. Move the set admin mode sentence from below to before doing AttributeSet attSet = OBDal.getInstance().get(AttributeSet.class, strAttributeSet); | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0104262) AtulOpenbravo (viewer) 2018-05-03 22:39 |
Test Plan - Login as F&B International Group Admin - Create a new Role "Test 38375" that has access to - Organization: F&B US West Coast - User: Openbravo - Window: Goods Receipt - Create a new Purchase Order for F&B US West Coast Organization, Be Soft Drinker, Inc Business Partner, US West Coast Warehouse - Create a line for Product "Orange Juice Bio" with 100 as Ordered Quantity - Book the order. - Using Pending Goods Receipt, create a Goods Receipts against Purchase Order. - Notice Error is raised to set Attribute Set for the product Orance Juice bio. - Log out and log in with the previously created role "Test 38375" - Navigate to Goods Receipt and go to line with product "Orance Juice bio". - Try to set Attribute Set Instance for it with some value in Pop up. -Realize that Attribute Set is properly set without raising any error as mentioned in the issue. |
(0104308) hgbot (developer) 2018-05-07 14:41 |
Repository: erp/devel/pi Changeset: a1b63a73a71d5ce3a86d58f966823e644bacaf54 Author: Atul Gaware <atul.gaware <at> openbravo.com> Date: Fri May 04 11:31:32 2018 +0530 URL: http://code.openbravo.com/erp/devel/pi/rev/a1b63a73a71d5ce3a86d58f966823e644bacaf54 [^] Fixes Issue 38375: Attribute selector in Task Window has problems with Role with limited access Set Admin mode to include piece of code which accesses AttributeSet objects. --- M src/org/openbravo/erpCommon/info/AttributeSetInstance.java --- |
(0104309) aferraz (viewer) 2018-05-07 14:42 |
Code review + Testing OK |
(0104434) hudsonbot (viewer) 2018-05-09 19:30 |
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/2be7d3efe606 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2018-04-16 13:25 | dmiguelez | New Issue | |
2018-04-16 13:25 | dmiguelez | Assigned To | => dmiguelez |
2018-04-16 13:25 | dmiguelez | OBNetwork customer | => No |
2018-04-17 11:29 | VictorVillar | Resolution time | => 1525730400 |
2018-04-17 11:29 | VictorVillar | OBNetwork customer | No => Yes |
2018-04-17 12:28 | ngarcia | Support ticket | => 1383 |
2018-04-17 12:28 | ngarcia | Issue Monitored: ngarcia | |
2018-04-18 16:45 | dmiguelez | Assigned To | dmiguelez => Triage Finance |
2018-04-19 13:17 | vmromanos | Project | Modules => Openbravo ERP |
2018-04-19 13:18 | vmromanos | Modules | => Core |
2018-04-19 13:18 | vmromanos | Triggers an Emergency Pack | => No |
2018-04-19 13:18 | vmromanos | Category | Advance Warehouse Operations => 00. Application dictionary |
2018-04-19 13:18 | vmromanos | Category | 00. Application dictionary => 04. Warehouse management |
2018-04-20 11:20 | dmiguelez | Assigned To | Triage Finance => collazoandy4 |
2018-04-25 10:08 | dmiguelez | Assigned To | collazoandy4 => AtulOpenbravo |
2018-05-03 21:00 | AtulOpenbravo | Status | new => scheduled |
2018-05-03 22:24 | AtulOpenbravo | Steps to Reproduce Updated | View Revisions |
2018-05-03 22:39 | AtulOpenbravo | Note Added: 0104262 | |
2018-05-07 14:41 | hgbot | Checkin | |
2018-05-07 14:41 | hgbot | Note Added: 0104308 | |
2018-05-07 14:41 | hgbot | Status | scheduled => resolved |
2018-05-07 14:41 | hgbot | Resolution | open => fixed |
2018-05-07 14:41 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a1b63a73a71d5ce3a86d58f966823e644bacaf54 [^] |
2018-05-07 14:42 | aferraz | Review Assigned To | => aferraz |
2018-05-07 14:42 | aferraz | Note Added: 0104309 | |
2018-05-07 14:42 | aferraz | Status | resolved => closed |
2018-05-07 14:42 | aferraz | Fixed in Version | => 3.0PR18Q3 |
2018-05-09 19:30 | hudsonbot | Checkin | |
2018-05-09 19:30 | hudsonbot | Note Added: 0104434 |
Copyright © 2000 - 2009 MantisBT Group |