ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Humera Khan (Jira)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-11038) Unable to view a PartyContent on view profile page of a party
Date Sat, 24 Aug 2019 10:24:00 GMT

    [ 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]
> * 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

View raw message