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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027074
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] C. Securityminorhave not tried2014-07-15 12:302014-08-08 18:53
ReporterjonalegriaesarteView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0PR14Q4
StatusclosedFix in branchFixed in SCM revisiond01e66ec153d
ProjectionnoneETAnoneTarget Version3.0PR14Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toshankarb
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027074: Role window, widget class tab, the user can add the same widget several times

DescriptionRole window, widget class tab, the user can add the same widget several times
Steps To Reproduce- Role window
- Widget class
- Add the same widget several times
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 00270433.0PR14Q4 closedAugustoMauch Duplicate records could be created in Widget Class Access, View Implementation and Process Definition tabs of Role window 

-  Notes
(0068783)
alostale (manager)
2014-07-22 10:04

In order to maintain backwards compatibility, the fix for this issue is implemented as an EntityPersistenceEventObserver instead of as a DB constraint.

After the patch is applied new duplicated entries will not be allowed, but existent duplicates will remain.
(0068785)
alostale (manager)
2014-07-22 10:07

In addition to Widget Class, the same restriction was missing in View Implementation and Process Definition access tabs.

Executed test cases:
-For the 3 modified tabs (Widget Class Access, View Implementation Access and Process Definition Access):
  * Try to insert 2 values for the same Role & Object -> It is not allowed
  * Try to insert a not duplicated value -> Allowed
  * Edit a non duplicated value changing it to be a duplicate -> Not allowed
(0068786)
hgbot (developer)
2014-07-22 10:09

Repository: erp/devel/pi
Changeset: d01e66ec153da855746d86fe4ed0fff2579d1a7a
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Jul 22 10:09:13 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d01e66ec153da855746d86fe4ed0fff2579d1a7a [^]

fixed bug 27074: Widget, Process Def and View Impl access tabs allow duplicates

---
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml
A modules/org.openbravo.client.application/src/org/openbravo/client/application/event/RoleAccessUniqueHandler.java
---
(0068835)
shankarb (reporter)
2014-07-23 11:51

Code reviewed and verified in pi changeset 276c7bb840e7
(0069203)
hudsonbot (developer)
2014-08-08 18:53

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

- Issue History
Date Modified Username Field Change
2014-07-15 12:30 jonalegriaesarte New Issue
2014-07-15 12:30 jonalegriaesarte Assigned To => AugustoMauch
2014-07-15 12:30 jonalegriaesarte Modules => Core
2014-07-15 12:30 jonalegriaesarte Resolution time => 1405807200
2014-07-15 12:30 jonalegriaesarte Triggers an Emergency Pack => No
2014-07-15 13:29 alostale Assigned To AugustoMauch => inigosanchez
2014-07-22 10:02 alostale Assigned To inigosanchez => alostale
2014-07-22 10:03 alostale Review Assigned To => shankarb
2014-07-22 10:04 alostale Note Added: 0068783
2014-07-22 10:07 alostale Note Added: 0068785
2014-07-22 10:09 hgbot Checkin
2014-07-22 10:09 hgbot Note Added: 0068786
2014-07-22 10:09 hgbot Status new => resolved
2014-07-22 10:09 hgbot Resolution open => fixed
2014-07-22 10:09 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d01e66ec153da855746d86fe4ed0fff2579d1a7a [^]
2014-07-23 11:51 shankarb Note Added: 0068835
2014-07-23 11:51 shankarb Status resolved => closed
2014-07-23 11:51 shankarb Fixed in Version => 3.0PR14Q4
2014-07-28 08:18 alostale Relationship added has duplicate 0027043
2014-08-08 18:53 hudsonbot Checkin
2014-08-08 18:53 hudsonbot Note Added: 0069203


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker