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 via email to