Apache Roller
  1. Apache Roller
  2. ROL-1851

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: Media files / uploads
    • Labels:
      None

      Description

      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

        Activity

        Hide
        Christopher Blasnik added a comment -

        Patches the issue f. ROL-1851

        Show
        Christopher Blasnik added a comment - Patches the issue f. ROL-1851
        Hide
        Dave Johnson (Inactive) added a comment -

        Thanks for the patch, Christopher.

        Author: snoopdave
        Date: Sat Feb 27 03:15:42 2010
        New Revision: 916903

        URL: http://svn.apache.org/viewvc?rev=916903&view=rev
        Log:
        Fixes "MediaFileImageChooser.jsp does not render the thumbnail / picture URLs correctly"
        https://issues.apache.org/jira/browse/ROL-1851

        Show
        Dave Johnson (Inactive) added a comment - Thanks for the patch, Christopher. Author: snoopdave Date: Sat Feb 27 03:15:42 2010 New Revision: 916903 URL: http://svn.apache.org/viewvc?rev=916903&view=rev Log: Fixes "MediaFileImageChooser.jsp does not render the thumbnail / picture URLs correctly" https://issues.apache.org/jira/browse/ROL-1851
        Hide
        Glen Mazza added a comment -

        Closed issues related to Roller 5.0 release.

        Show
        Glen Mazza added a comment - Closed issues related to Roller 5.0 release.

          People

          • Assignee:
            David Johnson
            Reporter:
            Christopher Blasnik
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development