Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015714Openbravo ERP00. Application dictionarypublic2011-01-20 16:452022-09-05 09:39
mirurita 
alostale 
normalminoralways
closedout of date 
5
 
 
AugustoMauch
Core
No
0015714: Error when saving a record in tabs related to tables with System/Client or All access level
1) Log in with a role different to System Administrator
2) Open in edit mode a record of System (client 0 org 0).
3) Click on new button, fill the required fields and try to save. You will get the following error: 'With your current role you don't have write permission.'

Only reproducible if the table related to the tab has System/Client or All access level.

The ad_client_id column of those tables has a default value: @AD_CLIENT_ID@
If you change the default value to '@#AD_CLIENT_ID@' or just assign null value it works.

'Create Columns from DB' process automatically assigns @AD_CLIENT_ID@ default value for columns named 'ad_client_id'.

7579721 [TP-Processor8] INFO org.openbravo.erpCommon.utility.ErrorTextParserPOSTGRE - did not find constraint name for error message: With your current role you don't have write permission.
1) Login as System Administrator with SmallBazaar client and go to Execution Process window. Financial Management || Receivables & Payables || Setup || Execution Process
2) Click on new button and fill required fields.
* Name: Test System Administrator
* Java Class Name: Test System Administrator
3) Save.
4) Login as Openbravo Admin with SmallBazaar client and go to Execution Process window. Financial Management || Receivables & Payables || Setup || Execution Process.
5) Important: open in edit mode previously created record.
6) Click on new button and fill required fields.
* Name: Test
* Java Class Name: Test
7) Click on save button. You will see an error: With your current role you don't have write permission.

No tags attached.
png Error.png (30,475) 2011-01-20 16:45
https://issues.openbravo.com/file_download.php?file_id=3520&type=bug
png
Issue History
2011-01-20 16:45miruritaNew Issue
2011-01-20 16:45miruritaAssigned To => alostale
2011-01-20 16:45miruritaFile Added: Error.png
2011-01-20 16:45miruritaModules => Core
2011-01-20 19:01miruritaNote Added: 0033799
2011-01-20 19:43dmitry_mezentsevIssue Monitored: dmitry_mezentsev
2011-01-24 08:48alostaleStatusnew => scheduled
2011-01-24 08:48alostalefix_in_branch => pi
2012-08-21 16:56AugustoMauchNote Added: 0051438
2012-09-13 13:06AugustoMauchClosed by => AugustoMauch
2012-09-13 13:06AugustoMauchNote Added: 0052065
2012-09-13 13:06AugustoMauchStatusscheduled => closed
2012-09-13 13:06AugustoMauchResolutionopen => out of date
2020-10-08 04:33tomasaranaNote Added: 0123608
2022-09-05 09:39YukisanNote Added: 0140694
2022-09-05 12:04shuehnerNote Deleted: 0140694
2022-09-05 12:06shuehnerNote Deleted: 0123608

Notes
(0033799)
mirurita   
2011-01-20 19:01   
I've noticed that in some windows (Execution Process, Conversion Rates, ...) is reproducible but it is working fine in for example G/L Category and they have the same access level.
(0051438)
AugustoMauch   
2012-08-21 16:56   
This issue is not reproducible in Openbravo 3.0
(0052065)
AugustoMauch   
2012-09-13 13:06   
This issue is no longer reproducible. In the step 5), it is not possible to open that record in edit mode, it is read-only