You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Leon (JIRA)" <ji...@apache.org> on 2011/08/08 06:55:27 UTC

[jira] [Updated] (OFBIZ-4363) Return "dataResource" from CreateDataResource service

     [ https://issues.apache.org/jira/browse/OFBIZ-4363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leon updated OFBIZ-4363:
------------------------

    Attachment: DataServices.patch

> Return "dataResource" from CreateDataResource service
> -----------------------------------------------------
>
>                 Key: OFBIZ-4363
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4363
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>            Reporter: Leon
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: DataServices.patch
>
>
> In the definition of service "CreateDataResource", there's a (optional) OUT attribute "dataResource" which is used by method "persistDataResourceAndDataMethod" of org.ofbiz.content.ContentManagementServices. I don't know why not to search the DataResource entity by given dataResourceId but reply on this optional redundant value. To make things work, I simply add a line of code to return this value in service implementation.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira