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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
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

       
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)

     [ 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