MediaFileImageChooser.jsp does not render the thumbnail / picture URLs correclty
--------------------------------------------------------------------------------

                 Key: ROL-1851
                 URL: https://issues.apache.org/jira/browse/ROL-1851
             Project: Roller
          Issue Type: Bug
          Components: Media files / uploads
    Affects Versions: 5.0
            Reporter: Christopher Blasnik
            Assignee: Roller Unassigned
             Fix For: 5.0
         Attachments: MediaFileImageChooser-patch.patch

MediaFileImageChooser.jsp:
- contains 2 broken links: "/%{#mediaFile.permalink"> and 
/%{#mediaFile.thumbnailURL
- when fixed, the absolute context URL is prepended twice to the link by the 
"onSelectImage" js function:
  window.parent.onSelectImage(name, '<s:property value="absoluteSiteURL" />' + 
url);

Patch for fixing the issue is attached

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to