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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021736
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionaryminoralways2012-09-25 09:002012-09-28 14:39
ReportercaristuView Statuspublic 
Assigned ToAugustoMauch 
PriorityhighResolutionfixedFixed in Version3.0MP16
StatusclosedFix in branchFixed in SCM revisione3b100f7652d
ProjectionnoneETAnoneTarget Version3.0MP17
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned ToAugustoMauch
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021736: OBSecurity Exception caused by a field definition

DescriptionIf you define a field checking off the following checkboxes at the same time:

- "Displayed"
- "Show in Status Bar"
- "Show in Grid View"

The following error appears in the log:

SEVERE: Servlet.service() for servlet ... threw exception
org.openbravo.base.exception.OBSecurityException: Client (0) of object (ADField(...) (name: ..., tab: ..)) is not present in ClientList ... at org.openbravo.dal.security.SecurityChecker.checkWriteAccess(SecurityChecker.java:168)
Steps To Reproduce1) As System Administrator, go to the [Widnows,tabs and fields] window
2) Choose a window definition (Sales Invoice for example)
3) Go to the [Field] tab and choose a field (Currency for example)
4) Check off the three checkboxes: "displayed", "show in status bar" and "show in grid view"
5) As Group Admin role, go to the window chosen in 2) (Sales Inovice). In our case the following error appears in the log:

org.openbravo.base.exception.OBSecurityException: Client (0) of object (ADField(2770) (name: Currency, tab: 263)) is not present in ClientList 23C59575B9CF467C9620760EB255B389 at org.openbravo.dal.security.SecurityChecker.checkWriteAccess(SecurityChecker.java:168)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0052576)
hgbot (developer)
2012-09-25 13:52

Repository: erp/devel/pi
Changeset: e3b100f7652d2dfdf865c715a03fadc2b8c82585
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Sep 25 13:51:29 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e3b100f7652d2dfdf865c715a03fadc2b8c82585 [^]

Fixes issue 21736: OBSecurity Exception caused by a field definition

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFieldHandler.java
---
(0052620)
AugustoMauch (manager)
2012-09-26 12:16

Code reviewed and verified in pi@fd9a9c556093
(0052900)
hudsonbot (developer)
2012-09-28 14:39

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/6d2f8cffd4b1 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-09-25 09:00 caristu New Issue
2012-09-25 09:00 caristu Assigned To => AugustoMauch
2012-09-25 09:00 caristu Modules => Core
2012-09-25 09:00 caristu Resolution time => 1354662000
2012-09-25 09:01 caristu Issue Monitored: networkb
2012-09-25 13:52 hgbot Checkin
2012-09-25 13:52 hgbot Note Added: 0052576
2012-09-25 13:52 hgbot Status new => resolved
2012-09-25 13:52 hgbot Resolution open => fixed
2012-09-25 13:52 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e3b100f7652d2dfdf865c715a03fadc2b8c82585 [^]
2012-09-26 12:16 AugustoMauch Closed by => AugustoMauch
2012-09-26 12:16 AugustoMauch Note Added: 0052620
2012-09-26 12:16 AugustoMauch Status resolved => closed
2012-09-26 12:16 AugustoMauch Fixed in Version => 3.0MP16
2012-09-28 14:39 hudsonbot Checkin
2012-09-28 14:39 hudsonbot Note Added: 0052900


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker