You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "Glen Mazza (JIRA)" <ji...@apache.org> on 2014/06/22 09:13:24 UTC

[jira] [Closed] (ROL-1209) user.vm #showResourceImage returns wrong path

     [ https://issues.apache.org/jira/browse/ROL-1209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Glen Mazza closed ROL-1209.
---------------------------

    Resolution: Unresolved

Item against Roller 2.x. The macro and user.vm files no longer exist.

> user.vm #showResourceImage returns wrong path
> ---------------------------------------------
>
>                 Key: ROL-1209
>                 URL: https://issues.apache.org/jira/browse/ROL-1209
>             Project: Apache Roller
>          Issue Type: Bug
>          Components: Themes and Macros
>    Affects Versions: 2.3
>            Reporter: Richard Jones
>            Assignee: Glen Mazza
>            Priority: Minor
>
> The '#showResourceImage()' macro in 'user.vm' does not return the correct path, currently it looks like this:
> #set( $imageUrl = $uploadPath/${website.handle}/$fileName)
> It should have "quotes" round the path and ${ctxPath} needs to be prefixed, as follows:
> #set( $imageUrl = "${ctxPath}$uploadPath/${website.handle}/$fileName")



--
This message was sent by Atlassian JIRA
(v6.2#6252)