A while ago, I set up the subversion plugin to query a trac installation for our site and it worked fine.
We recently upgraded trac and the links for the subversion still point to the old linkformat even after I change the subversion-jira-plugin.properties file and delete the $INDEXDIR/plugins/atlassian-subversion-revisions directory and restart JIRA.
I did some digging in the database and found that the old linkformat lines are still in the database. (query to show them below)
select * from propertyentry pe join propertystring ps on pe.id = ps.id where entity_name like '%subversion%';
Is there a way to update or remove the outdated entries safely?
Any info would be appreciated!
Map<Long, SubversionManager> loadSvnManagers() {
Map<Long, SubversionManager> managers = loadManagersFromJiraProperties();
if (managers.isEmpty()) {
log.info("Could not find any subversion repositories configured, trying to load from "
+ SvnPropertiesLoader.PROPERTIES_FILE_NAME);
managers = loadFromProperties();
}
return managers;
}
I would say that this file is currently used for the initial configuration. See the code above: the properties file is only read whether no any configuration is found in JIRA properties. Hence, once loaded the configuration is stored in jira properties and the file ignored.
I would say that to load the configuration from file again, you shoud delete all the registered Subversion servers from the plug-in administrator page and re-activate the plug-in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.