cannot create marketing campaign: permission error
--------------------------------------------------
Key: OFBIZ-1265
URL: https://issues.apache.org/jira/browse/OFBIZ-1265
Project: OFBiz
Issue Type: Bug
Reporter: Si Chen
Trying to create a marketing campaign causes the following:
2007-09-26 12:07:07,749 (http-0.0.0.0-8433-Processor2)
[FlexibleStringExpander.java:358:WARN ] Could not find value in environment for
the name [primaryPermission], inserting nothing.
2007-09-26 12:07:07,749 (http-0.0.0.0-8433-Processor2) [
Log.java:97 :INFO ] Checking for _CREATE
2007-09-26 12:07:07,750 (http-0.0.0.0-8433-Processor2)
[FlexibleStringExpander.java:358:WARN ] Could not find value in environment for
the name [altPermission], inserting nothing.
2007-09-26 12:07:07,750 (http-0.0.0.0-8433-Processor2) [
Log.java:97 :INFO ] Checking for _CREATE
2007-09-26 12:07:07,752 (http-0.0.0.0-8433-Processor2) [
TransactionUtil.java:294:WARN ]
---- exception report ----------------------------------------------------------
[TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this
stack trace shows where this is happening:
Exception: java.lang.Exception
Message: Error in simple-method [Basic Permission check
[file:/Users/sichen/IdeaProjects/opentaps-1.0/framework/common/script/org/ofbiz/common/permission/CommonPermissionServices.xml#genericBasePermissionCheck]]:
; [Permission primaryPermission parameter missing!]
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Error in simple-method [Basic Permission check
[file:/Users/sichen/IdeaProjects/opentaps-1.0/framework/common/script/org/ofbiz/common/permission/CommonPermissionServices.xml#genericBasePermissionCheck]]:
; [Permission primaryPermission parameter missing!]
org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:294)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:241)
org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:702)
Is there any documentation on this new permission-service stuff?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.