[MAGNOLIA-5080] ${contextPath} in magnolia.initialization.file context parameter in web.xml is not replaced Created: 05/Jun/13  Updated: 04/Dec/13  Resolved: 04/Dec/13

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

Type: Bug Priority: Neutral
Reporter: Nils Breunese Assignee: Tobias Mattsson
Resolution: Not an issue Votes: 0
Labels: vpro
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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:

 Description   

According to http://documentation.magnolia-cms.com/reference/configuration.html#Customization it is possible to use ${contextPath} in the value of the magnolia.initialization.file context parameter in web.xml, but this does not seem to be the case.

PropertiesInitializer.processPropertyFilesString(context, servername, webapp, propertiesFilesString) indeed does not seem to replace ${contextPath}.



 Comments   
Comment by Tobias Mattsson [ 04/Dec/13 ]

This feature was introduced in MAGNOLIA-3094 as part of 4.5.2 and is not available in 4.4.11.

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