You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacopo Cappellato (JIRA)" <ji...@apache.org> on 2014/07/15 15:17:04 UTC
[jira] [Assigned] (OFBIZ-4363) Return "dataResource" from
CreateDataResource service
[ https://issues.apache.org/jira/browse/OFBIZ-4363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacopo Cappellato reassigned OFBIZ-4363:
----------------------------------------
Assignee: Jacopo Cappellato
> 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
> 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.2#6252)