[jira] [Created] (OFBIZ-6944) streamDataResource do not manage OTHER_OBJECT dataResourceTypeId

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-6944) streamDataResource do not manage OTHER_OBJECT dataResourceTypeId

Nicolas Malin (Jira)
Gil Portenseigne created OFBIZ-6944:
---------------------------------------

             Summary: streamDataResource do not manage OTHER_OBJECT dataResourceTypeId
                 Key: OFBIZ-6944
                 URL: https://issues.apache.org/jira/browse/OFBIZ-6944
             Project: OFBiz
          Issue Type: Bug
          Components: content
    Affects Versions: Trunk
            Reporter: Gil Portenseigne
            Assignee: Gil Portenseigne


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

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

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

{code}// TODO: remove this method in favor of getDataResourceStream {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)