Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-5202

upload content at party profile is not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • Release Branch 12.04
    • None
    • content, party
    • None
    • ubuntu desktop 12.4

    Description

      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

      Attachments

        1. SeedDataForSystemAccount.patch
          4 kB
          Petr Pytelka

        Issue Links

          Activity

            People

              jleroux Jacques Le Roux
              javacorner Moustafa Mahmoud
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: