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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012973
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 07. Sales managementminoralways2010-04-14 13:402010-05-25 11:29
ReporteradrianromeroView Statuspublic 
Assigned Toharikrishnan 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiona6d63548df78
ProjectionnoneETAnoneTarget Version2.40MP13
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.40MP12SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012973: Problem showing audit in grid view

DescriptionLogged with a role different from OpenbravoAdmin (for example, Sales), when trying to "Show Audit" in grid view of Sales Order window nothing happens.
On the other hand if you go to edition mode of any sales order and press "Show Audit" button, information is properly showed.

[Note: if you are logged with OpenbravoAdmin role you are able to show audit in grid view]
Steps To Reproduce1. Log as Sales role
2. Go to Sales Management || Transactions || Sales Order || Header , and Grid mode
3. Press "Show Audit" button and realize that nothing happens
4. Go to Edit mode of the first record, and after pressing "Show Audit" button realize that audit information is showed.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00129702.40MP13 closedadrianromero Problem showing audit in grid view 

-  Notes
(0027397)
hgbot (developer)
2010-05-18 07:16

Repository: erp/stable/2.40
Changeset: a6d63548df785369971137a2738525c3b8f0392d
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Tue May 18 10:45:06 2010 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/a6d63548df785369971137a2738525c3b8f0392d [^]

Fixes issue 12973 The problem was that the change audit servlet was defined as a process, therefore before executing it, it is checked the current role has permission to it. So if the new role doesn't have explicit access to the process, it doesn't work.

---
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_PROCESS.xml
---
(0027398)
harikrishnan (reporter)
2010-05-18 07:16

Steps To Test:

Follow the Steps to reproduce.

Root Cause:

The problem was that the change audit servlet was defined as a process, therefore before executing it, it is checked the current role has permission to it. So if the new role doesn't have explicit access to the process, it doesn't work.


Impact:

Their is no other impact due to this fix.
(0027715)
arunkumar (reporter)
2010-05-25 11:29

Tested working fine

- Issue History
Date Modified Username Field Change
2010-04-14 13:40 adrianromero New Issue
2010-04-14 13:40 adrianromero Assigned To => adrianromero
2010-04-14 13:40 adrianromero Issue generated from 0012970
2010-04-14 13:40 adrianromero Relationship added blocks 0012970
2010-04-14 13:41 adrianromero Status new => scheduled
2010-04-14 13:41 adrianromero Target Version 2.50MP13 => 2.40MP13
2010-05-18 07:01 harikrishnan Assigned To adrianromero => harikrishnan
2010-05-18 07:16 hgbot Checkin
2010-05-18 07:16 hgbot Note Added: 0027397
2010-05-18 07:16 hgbot Status scheduled => resolved
2010-05-18 07:16 hgbot Resolution open => fixed
2010-05-18 07:16 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/a6d63548df785369971137a2738525c3b8f0392d [^]
2010-05-18 07:16 harikrishnan Note Added: 0027398
2010-05-25 11:29 arunkumar Note Added: 0027715
2010-05-25 11:29 arunkumar Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker