[MAGNOLIA-8397] Backslash "\" in magnolia.resources.dir on Windows may break the instance Created: 11/Dec/15  Updated: 02/Dec/22  Resolved: 02/Dec/22

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Christoph Meier Assignee: Unassigned
Resolution: Won't Do Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

magnolia-community-demo-bundle 5.4.3, Windows 8, JRE 1.8


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
Date of First Response:
Team: Nucleus

 Description   

When using typical windows path with backslash for the property magnolia.resources.dir the instance is not properly starting up and the webapp will not be available.

To reproduce: Install CE 5.4.3; shut down, change magnolia.resources.dir to existing path as C:\Users\johndoe\magnolia\lightmodules\my-first-website-tutorial and start the container again.
After the restart, the magnolia instance isn't available anymore.

Since java core files (e.g. in java.io) tolerate "\", i think magnolia.resources.dir should accept backslash as well.



 Comments   
Comment by Antti Hietala [ 04/Jan/16 ]

Workaround until fix is available: use forward slashes on Windows.

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