Bug #4007
KNBRegistry thesaurus in keyword page doesn' work
0%
Description
I got an email from Kirsten:
Could you point me to more information about the KNBRegistry thesaurus?
On my windows machine, when I try to select it, I get the following error:
"parsing config file threw: java.net.MalformedURLException. And then I get
a message "Could not load selected vocabulary".
This is windows installer (RC1). But this feature works on my linux development box.
History
#1 Updated by Jing Tao over 11 years ago
In both GenericTreeVocabularyPage and GenericVocabularyPage, the method initVocab will read a file. The file name was:
File.separator + vocab + ".xml";
However, it use this way to read file "this.getClass().getResourceAsStream(vocabFilePath)". This means it will read file from a jar. In windows, the File.separator will be "\". But somehow the jar file path doesn't like "\". When I change to SLASH, it works.
#2 Updated by Jing Tao over 11 years ago
move to 1.7
#3 Updated by Redmine Admin almost 8 years ago
Original Bugzilla ID was 4007