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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0
    • 5.0
    • Media files / uploads
    • 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

        1. MediaFileImageChooser-patch.patch
          1 kB
          Christopher Blasnik

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: