[
https://issues.apache.org/jira/browse/ROL-770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Glen Mazza closed ROL-770.
--------------------------
Resolution: Unresolved
Item from 2005. There is no user.vm anymore.
> showResourceImage macro does not produce URL properly
> -----------------------------------------------------
>
> Key: ROL-770
> URL: https://issues.apache.org/jira/browse/ROL-770
> Project: Apache Roller
> Issue Type: Improvement
> Components: Themes and Macros
> Affects Versions: 1.2
> Environment: Windows XP Home, JDK 1.5.0_04, AMD Athlon-M 2800+
> Reporter: David Graff
> Assignee: Roller Unassigned
> Priority: Trivial
> Attachments: ASF.LICENSE.NOT.GRANTED--CategoryImageDisplayPatch.diff
>
>
> I noticed that the showResourceImage macro concatenates the parts of the
> resource location incorrectly.
> Currently it is as follows (Line 30):
> #set( $imageUrl = $uploadPath / $userName / $fileName )
> Ideally, it would be better to do as:
> #set ( $imageUrl = "${ctxPath}${uploadPath}/${userName}/${fileName}" )
> This way the context path is included and there is no confusion about
> possibly using division against the individual parts.
--
This message was sent by Atlassian JIRA
(v6.2#6252)