[ 
https://issues.apache.org/jira/browse/OFBIZ-6944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gil Portenseigne updated OFBIZ-6944:
------------------------------------
    Attachment: OFBIZ-6944.patch

This patch fix the issue, got some doubt about it, i appreciate any reviews...

> 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
>         Attachments: OFBIZ-6944.patch
>
>
> 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)

Reply via email to