[ 
https://issues.apache.org/jira/browse/OFBIZ-12685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17595573#comment-17595573
 ] 

ASF subversion and git services commented on OFBIZ-12685:
---------------------------------------------------------

Commit 6bc18ba574d29f68b2f4a1d95a667d48e46b4e82 in ofbiz-framework's branch 
refs/heads/release22.01 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=6bc18ba574 ]

Fixed: Content tag in a screen does not display correctly images (OFBIZ-12685)

When we want to display an image content within a screen through <content/> tag,
images are not rendered correctly
To test:
Go to admin party profile page and upload a picture file as a new "LGOIMGURL"
for instance: https://localhost:8443/partymgr/control/viewprofile?partyId=admin

When your content file is uploaded, note the contentId and got to page
ShowContent (which render content using the tag <content />)
https://localhost:8443/content/control/showContent?contentId=XXXXX
The image will not be rendered without the given patch.

jleroux: since it's eventually negated, it makes no sense to test if the
content is either an image or an application. It can't be both. This is a very
old feature (pre-apache era) that seems to have never been tested/used
I have made a formatting change and added a comment to explain.

Thanks: Leila Mekika


> Content tag in a screen does not display correctly images
> ---------------------------------------------------------
>
>                 Key: OFBIZ-12685
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12685
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Upcoming Branch
>            Reporter: Leila Mekika
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>         Attachments: OFBIZ-12685.patch
>
>
> When we want to display an image content within a screen through <content/> 
> tag, images are not rendered correctly
>       
>       To test:
>      Go to admin party profile page and upload a picture file as a new 
> "LGOIMGURL" for instance
>    [https://localhost:8443/partymgr/control/viewprofile?partyId=admin]
>              
>             When your content file is uploaded, note the contentId and got to 
> page ShowContent (which render content using the tag <content />)
>             
> [https://localhost:8443/content/control/showContent?contentId=XXXXX]
>             
>             The image will not be rendered without the given patch.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to