You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Humera Khan (Jira)" <ji...@apache.org> on 2019/08/24 10:24:00 UTC
[jira] [Commented] (OFBIZ-11038) Unable to view a PartyContent on
view profile page of a party
[ 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.
> Unable to view a PartyContent on view profile page of a party
> -------------------------------------------------------------
>
> Key: OFBIZ-11038
> URL: https://issues.apache.org/jira/browse/OFBIZ-11038
> Project: OFBiz
> Issue Type: Bug
> Components: party
> Reporter: Devanshu Vyas
> Assignee: Humera Khan
> Priority: Minor
> Attachments: Error_message.png, OFBIZ-11038.patch, PartyContent_View.png
>
>
> * Go to [partymgr|https://demo-trunk.ofbiz.apache.org/partymgr/control/main]
> * Search any party(e.g. DemoCustomer)
> * Go to the [party profile|https://demo-trunk.ofbiz.apache.org/partymgr/control/viewprofile?partyId=DemoCustomer] page
> * Go to Party Content section on the page and upload a file
> * Select a purpose(Logo Image Url) and click on the Upload button
> * On page refresh, click on the view button to view the image uploaded.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)