-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 6.4.12, 7.0.11, 7.2.4
-
Component/s: System Administration - Others
-
6.04
-
4
-
Severity 3 - Minor
Summary
Setting up JIRA Data Center, 'Replication Folder' path is not able to be update accordingly.
- The path is not picked up from the jira.secondary.home value
Environment
- JIRA Data Center
Steps to Reproduce
- Set JIRA 6.4.12 with JDC license
- gg > Replication
- Enable, it will default at jirahome/secondary/
- Make the changes in jira-config.properties to add jira.secondary.home, restart
- From system info, the change for jira.seconday.home is updated
Expected Results
- Updated path in jira.secondary.home should be reflected in "Replication Folder" path
Actual Results
- Changes not reflected in "Replication Folder" path, even after re-setting it
Notes
Investigation by majones
In com.atlassian.jira.config.util.SecondaryJiraHome the line below, customPath is always returning null if the value jira.secondary.home is set which causes the secondary directory to use it's default.
This indicates that we might not be setting the property correctly, or picking it up in the right way. Most likely a bug at this stage.
final String customPath = applicationProperties.getString(APKeys.JIRA_SECONDARY_HOME);
Below is the method, although I have been unable to identify the offending code.
protected void refreshLocation(final boolean isEnabled)
{
if(isEnabled)
{
final String customPath = applicationProperties.getString(APKeys.JIRA_SECONDARY_HOME);
this.location = new File(StringUtils.isNotBlank(customPath) ? customPath : getDefaultPath());
}
else
{
this.location = null;
}
}
Workaround
No workaround for the time being
- relates to
-
JSEV-1105 Loading...