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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
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 ]

Jacques Le Roux updated OFBIZ-4363:
-----------------------------------
    Fix Version/s: 12.04.04

> 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: Trunk
>            Reporter: Leon
>            Assignee: Jacopo Cappellato
>            Priority: Minor
>             Fix For: 11.04.05, 12.04.04, Upcoming Branch, 13.07.01
>
>         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 was sent by Atlassian JIRA
(v6.3.4#6332)