Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0032292 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | always | 2016-02-19 13:15 | 2016-03-17 10:56 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 3.0PR16Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | e408f8f90401 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | alostale | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0032292: "OBSERDS_RoleHasNoFieldAccess" error thrown with specific role definition in Field tab | |||||||
Description | If you define a role with NO access to the Field tab (in Windows, Tabs and Field window) but access to an specific field, the following error is thrown when trying to save the edition: "Saving failed. ***role*** does not have access to the field Creation Date" | |||||||
Steps To Reproduce | 1. Create a System Admin manual role 2. Give read only access to Windows Tabs And Fields > Field 3. Give edit access to Description field 4. Using that role 5. Open any existing Window 6. Edit description for any field where Record Sort No. is empty and save | |||||||
Proposed Solution | The problem is caused because the Field tab has a field for the Creation audit column. This field should be removed as audit columns should not have a field in the AD. They are generated automatically. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||
|
![]() |
|
(0084369) hgbot (developer) 2016-02-19 13:23 |
Repository: erp/devel/pi Changeset: e408f8f90401413e81fc2e1be92a997d189deffc Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Fri Feb 19 13:22:52 2016 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/e408f8f90401413e81fc2e1be92a997d189deffc [^] fixes issue 32292: access error in Field tab with specific role when saving The problem is caused because the Field tab has a field for the Creation audit column. This field should be removed as audit columns should not have a field in the AD. They are generated automatically. --- M src-db/database/sourcedata/AD_FIELD.xml --- |
(0084375) hgbot (developer) 2016-02-19 14:34 |
Repository: erp/devel/api-checks Changeset: deb4aa37c11c54741b5e91e0b69d9e7d40dc9c93 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Fri Feb 19 14:32:15 2016 +0100 URL: http://code.openbravo.com/erp/devel/api-checks/rev/deb4aa37c11c54741b5e91e0b69d9e7d40dc9c93 [^] related to issue 32292: remove 'Creation Date' field of 'Field' tab --- M model/src-db/database/sourcedata/AD_FIELD.xml --- |
(0084540) alostale (viewer) 2016-02-26 09:07 |
code reviewed Though the changeset is correct and it's not necessary to explicitly define audit fields in tabs because they are generated in any case and it fix the described problem for this concrete window, a more generic fix has also been implemented in 0032354 to prevent this error to be thrown for any tab in this situation without the need of removing audit fields from AD nor granting edit access to them. |
(0084990) hgbot (developer) 2016-03-15 15:52 |
Repository: erp/devel/api-checks Changeset: c87271eab9e7d697c09182f58490b8ee34843833 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Tue Mar 15 15:51:28 2016 +0100 URL: http://code.openbravo.com/erp/devel/api-checks/rev/c87271eab9e7d697c09182f58490b8ee34843833 [^] related to issue 32292: remove 'Creation Date' field of 'Field' tab --- M model/src-db/database/sourcedata/AD_FIELD.xml --- |
(0085158) hudsonbot (viewer) 2016-03-17 10:56 |
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/b22fb0500156 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2016-02-19 13:15 | caristu | New Issue | |
2016-02-19 13:15 | caristu | Assigned To | => caristu |
2016-02-19 13:15 | caristu | OBNetwork customer | => No |
2016-02-19 13:15 | caristu | Modules | => Core |
2016-02-19 13:15 | caristu | Triggers an Emergency Pack | => No |
2016-02-19 13:16 | caristu | Relationship added | related to 0032231 |
2016-02-19 13:23 | hgbot | Checkin | |
2016-02-19 13:23 | hgbot | Note Added: 0084369 | |
2016-02-19 13:23 | hgbot | Status | new => resolved |
2016-02-19 13:23 | hgbot | Resolution | open => fixed |
2016-02-19 13:23 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e408f8f90401413e81fc2e1be92a997d189deffc [^] |
2016-02-19 13:24 | caristu | Review Assigned To | => alostale |
2016-02-19 13:24 | caristu | Issue Monitored: alostale | |
2016-02-19 14:34 | hgbot | Checkin | |
2016-02-19 14:34 | hgbot | Note Added: 0084375 | |
2016-02-26 08:54 | alostale | Relationship added | related to 0032354 |
2016-02-26 09:07 | alostale | Note Added: 0084540 | |
2016-02-26 09:07 | alostale | Status | resolved => closed |
2016-02-26 09:07 | alostale | Fixed in Version | => 3.0PR16Q2 |
2016-03-15 15:52 | hgbot | Checkin | |
2016-03-15 15:52 | hgbot | Note Added: 0084990 | |
2016-03-17 10:56 | hudsonbot | Checkin | |
2016-03-17 10:56 | hudsonbot | Note Added: 0085158 |
Copyright © 2000 - 2009 MantisBT Group |