Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-1697

DialogFckEdit.convertToView() doesn't properly add contextPath to dms links

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.5 RC1
    • 3.1 M3
    • gui
    • None

    Description

      At line 365 in DialogFckEdit.convertToView() there is a check to determine whether a UUIDLink instance is a link to a binary or not by checking for a NodeData object associated with it.

      if (uuidLink.getNodeData() == null) {

      This will always cause UUIDLink objects that are from the dms to generate incorrect links. The contextPath will never be added to the link.

      Nodes in the dms don't use NodeData objects like the website, or at least the DMSDownloadServlet doesn't work the same.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              pbaerfuss Philipp Bärfuss
              tomjnsn Tom Jensen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD