Comment 1 for bug 1231853

Revision history for this message
Henning Gerhardt (henning-gerhardt) wrote :

As the grep shows, both configuration files get actually used. That's certainly a bug due to missed renaming. Fix would be to rename 'digitalCollections.xml' to 'goobi_digitalCollections.xml' in src/de/sub/goobi/config/DigitalCollections.java as well.

goobi-production-1.10.x $: grep "digitalCollections.xml" * -r

src/org/goobi/production/cli/helper/CopyProcess.java:
  String filename = new Helper().getGoobiConfigDirectory() + "goobi_digitalCollections.xml";
src/de/sub/goobi/config/DigitalCollections.java:
  String filename = ConfigMain.getParameter("KonfigurationVerzeichnis") + "digitalCollections.xml";
src/de/sub/goobi/forms/ProzesskopieForm.java:
  String filename = this.help.getGoobiConfigDirectory() + "goobi_digitalCollections.xml";
src/de/sub/goobi/forms/MassImportForm.java:
        String filename = this.help.getGoobiConfigDirectory() + "goobi_digitalCollections.xml";