[MAGNOLIA-5623] CLONE - Log viewer list files but did not display logfiles if symlinks are used Created: 14/Jan/14  Updated: 14/Jan/14  Resolved: 14/Jan/14

Status: Closed
Project: Magnolia
Component/s: admininterface
Affects Version/s: 4.4.10, 4.5.7, 4.5.8, 4.5.9
Fix Version/s: 4.4.13

Type: Bug Priority: Neutral
Reporter: Frank Sommer Assignee: Milan Divilek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
clones MAGNOLIA-5105 Log viewer list files but did not dis... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

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.


Generated at Mon Feb 12 04:06:51 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.