[
https://issues.apache.org/jira/browse/OFBIZ-11038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16914909#comment-16914909 ]
Humera Khan commented on OFBIZ-11038:
-------------------------------------
Following are the outcomes of the finding:-
# While clicking on view button img request will be hit along with contentName and imgId as a parameter.
# This request invokes serveImage event(DataEvents.java) which is deprecated now.
# Instead of img request we can call stream request with contentId as a parameter that invokes serveObjectData event.
# This will work as per the value of content-disposition-type (requestHandler.properties) i.e. attachement or inline.
Please review the attached patch.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)