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

Log viewer list files but did not display logfiles if symlinks are used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 4.5.10
    • 4.4.10, 4.5.7, 4.5.8, 4.5.9
    • admininterface
    • None

      Before displaying the logfile in log viewer the canonical path of the log file is checked, that the logfile is located in the logs folder. But if you use symlink the canonical path is always different of the log folder path and so the log files are not displayed.

      I think the method isValidPath in info.magnolia.module.admininterface.pages.LogViewerPage is buggy in this use case and furthermore needless in my point of view.

        Acceptance criteria

              rkovarik Roman Kovařík
              frank.sommer Frank Sommer
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD