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. |
[ https://issues.apache.org/jira/browse/OFBIZ-1265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12530528 ] Si Chen commented on OFBIZ-1265: -------------------------------- Same problem with updateMarketingCampaign > 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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Si Chen closed OFBIZ-1265. -------------------------- Resolution: Fixed This was fixed by changes in r 57410 and OFBIZ-1226 > 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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534540 ] Adrian Crum commented on OFBIZ-1265: ------------------------------------ Si, As soon as OFBIZ-1237 and OFBIZ-1245 are committed, I will put a tutorial on permission checking services in the Wiki. > 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. |
Free forum by Nabble | Edit this page |