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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development