Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-4363

Return "dataResource" from CreateDataResource service

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        1. DataServices.patch
          0.7 kB
          Leon

        Activity

          People

            jacopoc Jacopo Cappellato
            utcb Leon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: