Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0034826Openbravo ERP04. Warehouse managementpublic2016-12-27 17:342017-03-15 20:18
maite 
AtulOpenbravo 
urgentmajoralways
closedfixed 
5
 
3.0PR17Q2 
markmm82
Core
No
0034826: Error "Entity CostingAlgorithm is not directly readable, only id and identifier properties are readable" in Valued Stock Report
When used Role has not access to "Costing Algorithm" window, following error is received in "Valued Stock Report" window
1. Access Role window and remove "Costing Algorithm" record in Window Access for "F&B International Group Admin" role
2. Logout/login using same role
3. Access Valued Stock Report window, select any org and run report in HTML format. Error "Entity CostingAlgorithm is not directly readable, only id and identifier properties are readable, property CostingAlgorithm.javaClassName is neither of these." will be raised
No tags attached.
Issue History
2016-12-27 17:34maiteNew Issue
2016-12-27 17:34maiteAssigned To => Triage Finance
2016-12-27 17:34maiteModules => Core
2016-12-27 17:34maiteTriggers an Emergency Pack => No
2016-12-27 17:35maiteResolution time => 1484607600
2016-12-27 17:35maiteIssue Monitored: networkb
2016-12-27 17:50maiteResolution time1484607600 => 1484002800
2016-12-27 18:37markmm82Assigned ToTriage Finance => AtulOpenbravo
2016-12-28 06:54AtulOpenbravoNote Added: 0093033
2016-12-28 06:55AtulOpenbravoStatusnew => scheduled
2017-01-03 15:11psanjuanNote Added: 0093136
2017-01-03 15:27psanjuanNote Added: 0093137
2017-01-04 16:03hgbotCheckin
2017-01-04 16:03hgbotNote Added: 0093190
2017-01-04 16:03hgbotStatusscheduled => resolved
2017-01-04 16:03hgbotResolutionopen => fixed
2017-01-04 16:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.reportvaluedstockenhanced/rev/3943a44b5519ed0772e34d34c8df019636838df7 [^]
2017-01-04 16:03hgbotCheckin
2017-01-04 16:03hgbotNote Added: 0093191
2017-01-04 18:27hgbotCheckin
2017-01-04 18:27hgbotNote Added: 0093204
2017-01-04 18:27hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.warehouse.reportvaluedstockenhanced/rev/3943a44b5519ed0772e34d34c8df019636838df7 [^] => http://code.openbravo.com/erp/devel/pi/rev/1347f0abfe355476b7dc37dd9ad66716966c3de6 [^]
2017-01-04 18:31markmm82Review Assigned To => markmm82
2017-01-04 18:31markmm82Note Added: 0093205
2017-01-04 18:31markmm82Statusresolved => closed
2017-01-04 18:31markmm82Fixed in Version => 3.0PR17Q1
2017-01-05 08:31vmromanosNote Added: 0093207
2017-01-05 08:31vmromanosStatusclosed => new
2017-01-05 08:31vmromanosResolutionfixed => open
2017-01-05 08:31vmromanosFixed in Version3.0PR17Q1 =>
2017-01-05 08:40vmromanosNote Deleted: 0093207
2017-01-05 08:40vmromanosStatusnew => scheduled
2017-01-05 08:40vmromanosStatusscheduled => resolved
2017-01-05 08:40vmromanosResolutionopen => fixed
2017-01-05 08:40vmromanosNote Added: 0093209
2017-01-05 08:40vmromanosStatusresolved => closed
2017-01-09 20:15markmm82Fixed in Version => 3.0PR17Q2
2017-03-15 20:18hudsonbotCheckin
2017-03-15 20:18hudsonbotNote Added: 0095067

Notes
(0093033)
AtulOpenbravo   
2016-12-28 06:54   
Test Plan
- Login as F&B International Group Admin.
- Change profile to Role as "F&B US Inc - Warehouse".
- Navigate to Valued Stock Report.
- Apply filter Organisation as "F&B US Inc" and click HTML format to view report.
- Report is displayed now.
(0093136)
psanjuan   
2017-01-03 15:11   
Issue verified.
(0093137)
psanjuan   
2017-01-03 15:27   
Test plan above verified, Issue can be code reviewed and closed.
(0093190)
hgbot   
2017-01-04 16:03   
Repository: erp/pmods/org.openbravo.warehouse.reportvaluedstockenhanced
Changeset: 3943a44b5519ed0772e34d34c8df019636838df7
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Wed Dec 28 17:37:26 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.reportvaluedstockenhanced/rev/3943a44b5519ed0772e34d34c8df019636838df7 [^]

Fixes Issue 34826:Error "Entity CostingAlgorithm is not directly readable,
only id and identifier properties are readable" in Valued Stock Report

getCostType method uses Adminmode to access costing algorithm and finally
switches back to previous mode.

---
M src/org/openbravo/warehouse/reportvaluedstockenhanced/ReportValuedStockEnhanced.java
---
(0093191)
hgbot   
2017-01-04 16:03   
Repository: erp/pmods/org.openbravo.warehouse.reportvaluedstockenhanced
Changeset: e40235b7828311b7dc3110ae925f2a4b386381f8
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Wed Dec 28 18:08:53 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.reportvaluedstockenhanced/rev/e40235b7828311b7dc3110ae925f2a4b386381f8 [^]

Related To Issue 34826:Update Module Version

---
M src-db/database/sourcedata/AD_MODULE.xml
---
(0093204)
hgbot   
2017-01-04 18:27   
Repository: erp/devel/pi
Changeset: 1347f0abfe355476b7dc37dd9ad66716966c3de6
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Wed Dec 28 17:36:54 2016 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/1347f0abfe355476b7dc37dd9ad66716966c3de6 [^]

Fixes Issue 34826:Error "Entity CostingAlgorithm is not directly readable,
only id and identifier properties are readable" in Valued Stock Report

getCostType method uses Adminmode to access costing algorithm and finally
switches back to previous mode.

---
M src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.java
---
(0093205)
markmm82   
2017-01-04 18:31   
Code review + Testing OK
(0093209)
vmromanos   
2017-01-05 08:40   
Closed again (wrongly reopened)
(0095067)
hudsonbot   
2017-03-15 20:18   
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/54e102bef53e [^]
Maturity status: Test