Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-1851

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: