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

        Christopher Blasnik created issue -
        Hide
        Christopher Blasnik added a comment -

        Patches the issue f. ROL-1851

        Show
        Christopher Blasnik added a comment - Patches the issue f. ROL-1851
        Christopher Blasnik made changes -
        Field Original Value New Value
        Attachment MediaFileImageChooser-patch.patch [ 12426208 ]
        David Johnson made changes -
        Assignee Roller Unassigned [ roller_unassigned ] David Johnson [ djohnson ]
        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
        Dave Johnson (Inactive) made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mark Thomas made changes -
        Workflow jira [ 12483110 ] Default workflow, editable Closed status [ 12623319 ]
        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.
        Glen Mazza made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development