Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0036254 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | always | 2017-06-14 12:35 | 2017-06-23 13:14 | |||
Reporter | Asantos9 | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR17Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 7867fc84869e | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | inigosanchez | |||||||
Web browser | Google Chrome | |||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0036254: An exception is logged with a process request defined as an organization distinct from * | |||||||
Description | Define a process request as an organization distinct from *. Execute it. When the process is finished, open the last record created on Process Monitor subtab. Note that the following exception has been logged: 2017-06-14 10:58:55,505 [ajp-bio-127.0.0.1-8009-exec-126] ERROR org.openbravo.base.exception.OBSecurityException - Entity ProcessExecution may only have instances with organization * org.openbravo.base.exception.OBSecurityException: Entity ProcessExecution may only have instances with organization * at org.openbravo.base.validation.AccessLevelChecker.failOnNonZeroOrg(AccessLevelChecker.java:122) at org.openbravo.base.validation.AccessLevelChecker$2.checkAccessLevel(AccessLevelChecker.java:66) at org.openbravo.base.model.Entity.checkAccessLevel(Entity.java:339) at org.openbravo.dal.security.SecurityChecker.checkWriteAccess(SecurityChecker.java:174) at org.openbravo.dal.security.SecurityChecker.isWritable(SecurityChecker.java:89) at org.openbravo.client.application.window.FormInitializationComponent.buildJSONObject(FormInitializationComponent.java:542) It seems that the error is related with the data access level defined for the ad_process_run and ad_process_request tables. | |||||||
Steps To Reproduce | 1. Log into ERP 2. Go to Process Request window 3. Create a record with an organization distinct from * 4. Execute it 5. Open on form view the last record created on Process Monitor subtab related to the process request created previously. 6. Go to the console log and see that the exception has logged | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0097439) hgbot (developer) 2017-06-16 11:54 |
Repository: erp/devel/pi Changeset: 7867fc84869e7ab4ac252333243e66c6b4b16bd5 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Fri Jun 16 11:53:16 2017 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/7867fc84869e7ab4ac252333243e66c6b4b16bd5 [^] fixed bug 36254: exception logged for process executions created in non * org When a process request is created in a non * organization, it creates an AD_Process_Run record in its same organization, which is correct. But when opening in form view the corresponding execution an exception was logged. The problem was AD_Process_Run and AD_Process_Execution_V where incorrectly defined with "System/Client" Data Acces Level even their records can be craeted at any level (DAL is not used in this case, so its not prevented). Fixed by setting "All" Data Access Level to both. --- M src-db/database/sourcedata/AD_TABLE.xml --- |
(0097461) hudsonbot (developer) 2017-06-16 19:02 |
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/38c05e8441a9 [^] Maturity status: Test |
(0097608) inigosanchez (developer) 2017-06-23 13:14 |
Tested and verified in pi@d816955a96eb |
Issue History | |||
Date Modified | Username | Field | Change |
2017-06-14 12:35 | Asantos9 | New Issue | |
2017-06-14 12:35 | Asantos9 | Assigned To | => platform |
2017-06-14 12:35 | Asantos9 | Web browser | => Google Chrome |
2017-06-14 12:35 | Asantos9 | Modules | => Core |
2017-06-14 12:35 | Asantos9 | Triggers an Emergency Pack | => No |
2017-06-14 12:54 | Asantos9 | Web browser | Google Chrome => Google Chrome |
2017-06-14 12:54 | Asantos9 | Resolution time | => 1498600800 |
2017-06-14 12:55 | Asantos9 | Web browser | Google Chrome => Google Chrome |
2017-06-16 11:45 | alostale | Web browser | Google Chrome => Google Chrome |
2017-06-16 11:45 | alostale | Summary | An exception is thrown with a process request defined as an organization distinct from * => An exception is logged with a process request defined as an organization distinct from * |
2017-06-16 11:45 | alostale | Description Updated | View Revisions |
2017-06-16 11:45 | alostale | Steps to Reproduce Updated | View Revisions |
2017-06-16 11:45 | alostale | Assigned To | platform => alostale |
2017-06-16 11:45 | alostale | Relationship added | blocks 0036162 |
2017-06-16 11:47 | alostale | Review Assigned To | => inigosanchez |
2017-06-16 11:47 | alostale | Web browser | Google Chrome => Google Chrome |
2017-06-16 11:54 | hgbot | Checkin | |
2017-06-16 11:54 | hgbot | Note Added: 0097439 | |
2017-06-16 11:54 | hgbot | Status | new => resolved |
2017-06-16 11:54 | hgbot | Resolution | open => fixed |
2017-06-16 11:54 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/7867fc84869e7ab4ac252333243e66c6b4b16bd5 [^] |
2017-06-16 19:02 | hudsonbot | Checkin | |
2017-06-16 19:02 | hudsonbot | Note Added: 0097461 | |
2017-06-23 13:14 | inigosanchez | Note Added: 0097608 | |
2017-06-23 13:14 | inigosanchez | Status | resolved => closed |
2017-06-23 13:14 | inigosanchez | Fixed in Version | => 3.0PR17Q3 |
Copyright © 2000 - 2009 MantisBT Group |