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

streamDataResource do not manage OTHER_OBJECT dataResourceTypeId

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 14.12.01, 15.12.01, 13.07.04
    • Component/s: content
    • Labels:
      None
    • Sprint:
      Community Day 1 - 2016

      Description

      When using request ViewBinaryDataResource?dataResourceId=10015 with a OTHER_OBJECT dataResourceTypeId, we meet the error :

      org.ofbiz.webapp.view.ViewHandlerException: The dataResourceTypeId [OTHER_OBJECT] is not supported in streamDataResource

      This is relative to an existing TODO in DataResourceWorker.java :

      // TODO: remove this method in favor of getDataResourceStream 

        Attachments

        1. OFBIZ-6944.patch
          10 kB
          Gil Portenseigne

          Activity

            People

            • Assignee:
              pgil Gil Portenseigne
              Reporter:
              pgil Gil Portenseigne
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: