Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0027074 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] C. Security | minor | have not tried | 2014-07-15 12:30 | 2014-08-08 18:53 | |||
Reporter | jonalegriaesarte | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR14Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | d01e66ec153d | ||||
Projection | none | ETA | none | Target Version | 3.0PR14Q4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0068783) alostale (viewer) 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 (viewer) 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 (viewer) 2014-07-23 11:51 |
Code reviewed and verified in pi changeset 276c7bb840e7 |
(0069203) hudsonbot (viewer) 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 |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |