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

streamDataResource do not manage OTHER_OBJECT dataResourceTypeId

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • 14.12.01, 15.12.01, 13.07.04
    • content
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: