[MAGNOLIA-3695] magnolia.repositories.home system property ignored if not set in magnolia.properties file Created: 17/May/11 Updated: 04/Nov/15 Resolved: 04/Nov/15 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | 4.4.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Ben Strawson | Assignee: | Ondrej Chytil |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Java 1.6, OS/X |
||
| 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 |
|
If you do not have a magnolia.repositories.home setting in any magnolia.properties file, but set it as a system property, then Magnolia treats it as unset. The effect is that the repository location is a location relative to the working directory and called literally "${magnolia.repositories.home}/magnoliaAuthor" (or whatever ${magnolia.repository.name} is set to). A workaround is to ensure that the value magnolia.repositories.home is always set in magnolia.properties, even if set to an empty string. Magnolia then does override this value with the one from your system property. |
| Comments |
| Comment by Magnolia International [ 23/May/11 ] |
|
This is probably the case for others/all properties which you can override by system properties. Ondrej, could write a couple of tests / verify this behavior ? |
| Comment by Michael Mühlebach [ 04/Nov/15 ] |
|
Given the thousands of other issues we have open that are more highly requested, we won't be able to address this issue in the foreseeable future. Instead we will focus on issues with a higher impact, and more votes. |