Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0027074 | Openbravo ERP | C. Security | public | 2014-07-15 12:30 | 2014-08-08 18:53 |
|
Reporter | jonalegriaesarte | |
Assigned To | alostale | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR14Q4 | Fixed in Version | 3.0PR14Q4 | |
Merge Request Status | |
Review Assigned To | shankarb |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 29860 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0027074: Role window, widget class tab, the user can add the same widget several times |
Description | Role 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 |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | has duplicate | defect | 0027043 | 3.0PR14Q4 | closed | AugustoMauch | Duplicate records could be created in Widget Class Access, View Implementation and Process Definition tabs of Role window |
|
Attached Files | |
|
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 | OBNetwork customer | => Yes |
2014-07-15 12:30 | jonalegriaesarte | Modules | => Core |
2014-07-15 12:30 | jonalegriaesarte | Support ticket | => 29860 |
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 | |
Notes |
|
|
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. |
|
|
|
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
|
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
|
2014-07-23 11:51
|
|
Code reviewed and verified in pi changeset 276c7bb840e7 |
|
|
|
|