You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Aswath Satrasala (JIRA)" <ji...@apache.org> on 2009/04/16 14:37:14 UTC

[jira] Created: (OFBIZ-2300) party content - error

party content - error
---------------------

                 Key: OFBIZ-2300
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2300
             Project: OFBiz
          Issue Type: Bug
          Components: party
    Affects Versions: SVN trunk
         Environment: r765067 - windows xp
            Reporter: Aswath Satrasala


r765067 - windows xp

-Logged in as admin/ofbiz
-Clicked on Party
-Looked up 'externaluser'
-Clicked on the 'Party Content (Adding content for externaluser)
-AddPartyContent 

The Following Errors Occurred:

ERROR: Could not complete the Creates Party Associated Content [file:/D:/aswath/workspace/ofbiz/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml#createPartyContent] process [problem invoking the [createPartyContent] service with the map named [partyContentMap] containing [[partyId=externaluser, partyContentTypeId=INTERNAL, _uploadedFile_fileName=aswath@google.com_082008 I.pdf, uploadedFile=java.nio.HeapByteBuffer[pos=0 lim=13854 cap=13854], _uploadedFile_contentType=application/octet-stream, userLogin=[GenericEntity:UserLogin][createdStamp,2009-04-09 14:59:57.593(java.sql.Timestamp)][createdTxStamp,2009-04-09 14:59:51.328(java.sql.Timestamp)][currentPassword,{SHA}47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2009-04-09 14:59:58.407(java.sql.Timestamp)][lastUpdatedTxStamp,2009-04-09 14:59:58.406(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: The following required parameter is missing: [IN] [createPartyContent.contentId]]


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2300) party content - error

Posted by "Ashish Vijaywargiya (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700470#action_12700470 ] 

Ashish Vijaywargiya commented on OFBIZ-2300:
--------------------------------------------

This is not correct fix Mr. Aswath Satrasala. 
I will look at this problem in next week.

--
Ashish

> party content - error
> ---------------------
>
>                 Key: OFBIZ-2300
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2300
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: SVN trunk
>         Environment: r765067 - windows xp
>            Reporter: Aswath Satrasala
>         Attachments: PartySimpleEvents.xml.patch
>
>
> r765067 - windows xp
> -Logged in as admin/ofbiz
> -Clicked on Party
> -Looked up 'externaluser'
> -Clicked on the 'Party Content (Adding content for externaluser)
> -AddPartyContent 
> The Following Errors Occurred:
> ERROR: Could not complete the Creates Party Associated Content [file:/D:/aswath/workspace/ofbiz/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml#createPartyContent] process [problem invoking the [createPartyContent] service with the map named [partyContentMap] containing [[partyId=externaluser, partyContentTypeId=INTERNAL, _uploadedFile_fileName=aswath@google.com_082008 I.pdf, uploadedFile=java.nio.HeapByteBuffer[pos=0 lim=13854 cap=13854], _uploadedFile_contentType=application/octet-stream, userLogin=[GenericEntity:UserLogin][createdStamp,2009-04-09 14:59:57.593(java.sql.Timestamp)][createdTxStamp,2009-04-09 14:59:51.328(java.sql.Timestamp)][currentPassword,{SHA}47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2009-04-09 14:59:58.407(java.sql.Timestamp)][lastUpdatedTxStamp,2009-04-09 14:59:58.406(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: The following required parameter is missing: [IN] [createPartyContent.contentId]]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-2300) party content - error

Posted by "Aswath Satrasala (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aswath Satrasala updated OFBIZ-2300:
------------------------------------


I am looking into this

> party content - error
> ---------------------
>
>                 Key: OFBIZ-2300
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2300
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: SVN trunk
>         Environment: r765067 - windows xp
>            Reporter: Aswath Satrasala
>
> r765067 - windows xp
> -Logged in as admin/ofbiz
> -Clicked on Party
> -Looked up 'externaluser'
> -Clicked on the 'Party Content (Adding content for externaluser)
> -AddPartyContent 
> The Following Errors Occurred:
> ERROR: Could not complete the Creates Party Associated Content [file:/D:/aswath/workspace/ofbiz/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml#createPartyContent] process [problem invoking the [createPartyContent] service with the map named [partyContentMap] containing [[partyId=externaluser, partyContentTypeId=INTERNAL, _uploadedFile_fileName=aswath@google.com_082008 I.pdf, uploadedFile=java.nio.HeapByteBuffer[pos=0 lim=13854 cap=13854], _uploadedFile_contentType=application/octet-stream, userLogin=[GenericEntity:UserLogin][createdStamp,2009-04-09 14:59:57.593(java.sql.Timestamp)][createdTxStamp,2009-04-09 14:59:51.328(java.sql.Timestamp)][currentPassword,{SHA}47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2009-04-09 14:59:58.407(java.sql.Timestamp)][lastUpdatedTxStamp,2009-04-09 14:59:58.406(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: The following required parameter is missing: [IN] [createPartyContent.contentId]]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OFBIZ-2300) party content - error

Posted by "Ashish Vijaywargiya (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Vijaywargiya closed OFBIZ-2300.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk

Thanks "Aswath Satrasala" for your contribution.
Your changes are in trunk rev "766316".

Sorry, somehow I have overlooked the change in the service name attribute (>From createPartyContent to uploadPartyContentFile) instead of that I only looked at "context.contentId" change.
So I considered it as a wrong fix.

Please discard my previous comment.

--
Ashish Vijaywargiya

> party content - error
> ---------------------
>
>                 Key: OFBIZ-2300
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2300
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: SVN trunk
>         Environment: r765067 - windows xp
>            Reporter: Aswath Satrasala
>            Assignee: Ashish Vijaywargiya
>             Fix For: SVN trunk
>
>         Attachments: PartySimpleEvents.xml.patch
>
>
> r765067 - windows xp
> -Logged in as admin/ofbiz
> -Clicked on Party
> -Looked up 'externaluser'
> -Clicked on the 'Party Content (Adding content for externaluser)
> -AddPartyContent 
> The Following Errors Occurred:
> ERROR: Could not complete the Creates Party Associated Content [file:/D:/aswath/workspace/ofbiz/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml#createPartyContent] process [problem invoking the [createPartyContent] service with the map named [partyContentMap] containing [[partyId=externaluser, partyContentTypeId=INTERNAL, _uploadedFile_fileName=aswath@google.com_082008 I.pdf, uploadedFile=java.nio.HeapByteBuffer[pos=0 lim=13854 cap=13854], _uploadedFile_contentType=application/octet-stream, userLogin=[GenericEntity:UserLogin][createdStamp,2009-04-09 14:59:57.593(java.sql.Timestamp)][createdTxStamp,2009-04-09 14:59:51.328(java.sql.Timestamp)][currentPassword,{SHA}47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2009-04-09 14:59:58.407(java.sql.Timestamp)][lastUpdatedTxStamp,2009-04-09 14:59:58.406(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: The following required parameter is missing: [IN] [createPartyContent.contentId]]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2300) party content - error

Posted by "Aswath Satrasala (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700178#action_12700178 ] 

Aswath Satrasala commented on OFBIZ-2300:
-----------------------------------------

Hi,
Following is the message from ofbiz.log.  

2009-04-17 18:58:57,214 (http-0.0.0.0-8443-1) [       ModelService.java:546:ERROR] [ModelService.validate] : {createPartyContent} : (IN) Required test error: org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [IN] [createPartyContent.contentId]
2009-04-17 18:58:57,218 (http-0.0.0.0-8443-1) [  ServiceDispatcher.java:369:ERROR] 
---- exception report ----------------------------------------------------------
Incoming context (in runSync : createPartyContent) does not match expected requirements
Exception: org.ofbiz.service.ServiceValidationException
Message: The following required parameter is missing: [IN] [createPartyContent.contentId]
---- stack trace ---------------------------------------------------------------
org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [IN] [createPartyContent.contentId]
org.ofbiz.service.ModelService.validate(ModelService.java:607)
org.ofbiz.service.ModelService.validate(ModelService.java:543)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:367)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:169)
org.ofbiz.minilang.method.callops.CallService.exec(CallService.java:244)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:921)
org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:749)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:149)
org.ofbiz.minilang.SimpleMethod.runSimpleEvent(SimpleMethod.java:110)
org.ofbiz.webapp.event.SimpleEventHandler.invoke(SimpleEventHandler.java:69)


> party content - error
> ---------------------
>
>                 Key: OFBIZ-2300
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2300
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: SVN trunk
>         Environment: r765067 - windows xp
>            Reporter: Aswath Satrasala
>
> r765067 - windows xp
> -Logged in as admin/ofbiz
> -Clicked on Party
> -Looked up 'externaluser'
> -Clicked on the 'Party Content (Adding content for externaluser)
> -AddPartyContent 
> The Following Errors Occurred:
> ERROR: Could not complete the Creates Party Associated Content [file:/D:/aswath/workspace/ofbiz/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml#createPartyContent] process [problem invoking the [createPartyContent] service with the map named [partyContentMap] containing [[partyId=externaluser, partyContentTypeId=INTERNAL, _uploadedFile_fileName=aswath@google.com_082008 I.pdf, uploadedFile=java.nio.HeapByteBuffer[pos=0 lim=13854 cap=13854], _uploadedFile_contentType=application/octet-stream, userLogin=[GenericEntity:UserLogin][createdStamp,2009-04-09 14:59:57.593(java.sql.Timestamp)][createdTxStamp,2009-04-09 14:59:51.328(java.sql.Timestamp)][currentPassword,{SHA}47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2009-04-09 14:59:58.407(java.sql.Timestamp)][lastUpdatedTxStamp,2009-04-09 14:59:58.406(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: The following required parameter is missing: [IN] [createPartyContent.contentId]]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (OFBIZ-2300) party content - error

Posted by "Ashish Vijaywargiya (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Vijaywargiya reassigned OFBIZ-2300:
------------------------------------------

    Assignee: Ashish Vijaywargiya

> party content - error
> ---------------------
>
>                 Key: OFBIZ-2300
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2300
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: SVN trunk
>         Environment: r765067 - windows xp
>            Reporter: Aswath Satrasala
>            Assignee: Ashish Vijaywargiya
>         Attachments: PartySimpleEvents.xml.patch
>
>
> r765067 - windows xp
> -Logged in as admin/ofbiz
> -Clicked on Party
> -Looked up 'externaluser'
> -Clicked on the 'Party Content (Adding content for externaluser)
> -AddPartyContent 
> The Following Errors Occurred:
> ERROR: Could not complete the Creates Party Associated Content [file:/D:/aswath/workspace/ofbiz/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml#createPartyContent] process [problem invoking the [createPartyContent] service with the map named [partyContentMap] containing [[partyId=externaluser, partyContentTypeId=INTERNAL, _uploadedFile_fileName=aswath@google.com_082008 I.pdf, uploadedFile=java.nio.HeapByteBuffer[pos=0 lim=13854 cap=13854], _uploadedFile_contentType=application/octet-stream, userLogin=[GenericEntity:UserLogin][createdStamp,2009-04-09 14:59:57.593(java.sql.Timestamp)][createdTxStamp,2009-04-09 14:59:51.328(java.sql.Timestamp)][currentPassword,{SHA}47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2009-04-09 14:59:58.407(java.sql.Timestamp)][lastUpdatedTxStamp,2009-04-09 14:59:58.406(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: The following required parameter is missing: [IN] [createPartyContent.contentId]]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-2300) party content - error

Posted by "Aswath Satrasala (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aswath Satrasala updated OFBIZ-2300:
------------------------------------

    Attachment: PartySimpleEvents.xml.patch

Please review the patch.

> party content - error
> ---------------------
>
>                 Key: OFBIZ-2300
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2300
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: SVN trunk
>         Environment: r765067 - windows xp
>            Reporter: Aswath Satrasala
>         Attachments: PartySimpleEvents.xml.patch
>
>
> r765067 - windows xp
> -Logged in as admin/ofbiz
> -Clicked on Party
> -Looked up 'externaluser'
> -Clicked on the 'Party Content (Adding content for externaluser)
> -AddPartyContent 
> The Following Errors Occurred:
> ERROR: Could not complete the Creates Party Associated Content [file:/D:/aswath/workspace/ofbiz/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml#createPartyContent] process [problem invoking the [createPartyContent] service with the map named [partyContentMap] containing [[partyId=externaluser, partyContentTypeId=INTERNAL, _uploadedFile_fileName=aswath@google.com_082008 I.pdf, uploadedFile=java.nio.HeapByteBuffer[pos=0 lim=13854 cap=13854], _uploadedFile_contentType=application/octet-stream, userLogin=[GenericEntity:UserLogin][createdStamp,2009-04-09 14:59:57.593(java.sql.Timestamp)][createdTxStamp,2009-04-09 14:59:51.328(java.sql.Timestamp)][currentPassword,{SHA}47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2009-04-09 14:59:58.407(java.sql.Timestamp)][lastUpdatedTxStamp,2009-04-09 14:59:58.406(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,admin(java.lang.String)], locale=en_US]]: The following required parameter is missing: [IN] [createPartyContent.contentId]]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.