Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #36254 Back to Issue ]
Summary 0036254: An exception is logged with a process request defined as an organization distinct from *
Revision 2017-06-16 11:45 by alostale
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
Revision 2017-06-16 11:45 by alostale
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.
Revision 2017-06-14 12:55 by alostale
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 been thrown.
Revision 2017-06-14 12:55 by alostale
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 raised:

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.


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker