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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036533
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementminoralways2017-07-26 12:102018-12-11 20:22
ReporterngarciaView Statuspublic 
Assigned Tomarkmm82 
PriorityhighResolutionfixedFixed in Version3.0PR19Q1
StatusclosedFix in branchFixed in SCM revision58fd41f90022
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToSandrahuguet
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0036533: Cannot post a goods shipment if the role does not have access to M_Transaction and C_Conversion_Rate_Document tables

DescriptionCannot post a goods shipment if the role does not have access to M_Transaction and C_Conversion_Rate_Document tables
Steps To ReproduceAs group admin role:
   Unschedule the Acct Server background process
   Create a Goods Shipment
   Launch the Costing Background Process and check it finishes successfully
   Create a new manual role
   Add all the Organizations to it
   Add Goods Shipment window to it (Editable Field = 'Y')
   Assign it to Openbravo user

Change to that role:
   Go to Goods Shipment window and try to post it
   The following error message is raised:
      "Entity MaterialMgmtMaterialTransaction is not directly readable, only id and identifier properties are readable, property MaterialMgmtMaterialTransaction.isCostCalculated is neither of these."

As group admin role:
   Go to Role Access window and add M_TRANSACTION table to the previously created role

Change to that role:
   Go to Goods Shipment window and try to post it
   The following error message is raised:
      "Entity CurrencyConversionRateDoc is not readable by the user 100"
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0100967)
markmm82 (developer)
2017-12-11 15:55

Test Plan
As group admin role:
   Unschedule the Acct Server background process
   Create a Goods Shipment
   Launch the Costing Background Process and check it finishes successfully
   Create a new manual role
   Add all the Organizations to it
   Add Goods Shipment window to it (Editable Field = 'Y')
   Add Journal Entries Report to it.
   Assign it to Openbravo user

Change to that role:
   Go to Goods Shipment window and try to post it
   Notice the document is posted successfully without add any extra access to the role.
(0108139)
hgbot (developer)
2018-11-28 09:05

Repository: erp/devel/pi
Changeset: 58fd41f90022179fbaa67b2b59dfd5199eea4e66
Author: Mark <markmm82 <at> gmail.com>
Date: Fri Dec 08 21:22:51 2017 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/58fd41f90022179fbaa67b2b59dfd5199eea4e66 [^]

Fixes issue 36533: Cannot post a goods shipment if the role does not have access
to M_Transaction and C_Conversion_Rate_Document tables

Sentences are executed in Admin Mode to avoid exceptions caused by the Role doesn't
having table access.

---
M src/org/openbravo/erpCommon/ad_forms/DocInOut.java
---
(0108140)
Sandrahuguet (developer)
2018-11-28 09:08

Code review + testing OK
(0108503)
hudsonbot (developer)
2018-12-11 20:22

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/470e3cd384c5 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2017-07-26 12:10 ngarcia New Issue
2017-07-26 12:10 ngarcia Assigned To => Triage Finance
2017-07-26 12:10 ngarcia Modules => Core
2017-07-26 12:10 ngarcia Triggers an Emergency Pack => No
2017-07-26 12:10 ngarcia Issue Monitored: networkb
2017-12-07 17:27 markmm82 Assigned To Triage Finance => markmm82
2017-12-07 17:27 markmm82 Status new => scheduled
2017-12-11 15:55 markmm82 Note Added: 0100967
2018-11-28 09:05 hgbot Checkin
2018-11-28 09:05 hgbot Note Added: 0108139
2018-11-28 09:05 hgbot Status scheduled => resolved
2018-11-28 09:05 hgbot Resolution open => fixed
2018-11-28 09:05 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/58fd41f90022179fbaa67b2b59dfd5199eea4e66 [^]
2018-11-28 09:08 Sandrahuguet Review Assigned To => Sandrahuguet
2018-11-28 09:08 Sandrahuguet Note Added: 0108140
2018-11-28 09:08 Sandrahuguet Status resolved => closed
2018-11-28 09:08 Sandrahuguet Fixed in Version => 3.0PR19Q1
2018-12-11 20:22 hudsonbot Checkin
2018-12-11 20:22 hudsonbot Note Added: 0108503


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker