roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Mazza (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (ROL-1209) user.vm #showResourceImage returns wrong path
Date Sun, 22 Jun 2014 07:13:24 GMT

     [ 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)

Mime
View raw message