[ https://issues.apache.org/jira/browse/OFBIZ-5202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13700507#comment-13700507 ]
Jacques Le Roux commented on OFBIZ-5202: ---------------------------------------- I guess it's a conflict for this specific situation. In the general case there is not a party in the context so <<run-as-user="system>> is used. So better to not remove it. I must say I did not look into details, so I have no solution to propose... > upload content at party profile is not working > ---------------------------------------------- > > Key: OFBIZ-5202 > URL: https://issues.apache.org/jira/browse/OFBIZ-5202 > Project: OFBiz > Issue Type: Bug > Components: content, party > Affects Versions: Release Branch 12.04 > Environment: ubuntu desktop 12.4 > Reporter: Moustafa Mahmoud > > i tried to upload content at party profile screen with purpose "Logo Image > URL" and Is public "YES" but i got the following exception > ---- exception report > ---------------------------------------------------------- > ERROR: Could not complete the Create Content Alternative URLs. > [file:/media/68C2E6E0C2E6B18C/Work/Developers_foundation/Workspace/OFBiz/ofbiz/applications/content/script/org/ofbiz/content/content/ContentServices.xml#createContentAlternativeUrl] > process [problem invoking the [createContent] service with the map named > [contentCtx] containing [{dataResourceId=10001, statusId=CTNT_IN_PROGRESS, > localeString=en_US, > userLogin=[GenericEntity:UserLogin][createdStamp,2013-05-23 > 12:19:58.0(java.sql.Timestamp)][createdTxStamp,2013-05-23 > 12:19:58.0(java.sql.Timestamp)][currentPassword,null()][disabledDateTime,null()][enabled,N(java.lang.String)][externalAuthId,null()][hasLoggedOut,null()][isSystem,Y(java.lang.String)][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2013-05-23 > 12:19:58.0(java.sql.Timestamp)][lastUpdatedTxStamp,2013-05-23 > 12:19:58.0(java.sql.Timestamp)][partyId,null()][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,system(java.lang.String)], > locale=en_US}]: The following required parameter is missing: [IN] > [createContentRole.partyId]] > Exception: org.ofbiz.service.ServiceValidationException > Message: The following required parameter is missing: [IN] > [createContentRole.partyId] > ---- stack trace > --------------------------------------------------------------- > org.ofbiz.service.ServiceValidationException: The following required > parameter is missing: [IN] [createContentRole.partyId] > org.ofbiz.service.ModelService.validate(ModelService.java:626) > org.ofbiz.service.ModelService.validate(ModelService.java:562) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:371) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163) > org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:138) > org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:159) > org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:188) > ---------- > can anyone help me > Cheers > Mostafa -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira