Project

General

Profile

Actions

Bug #4007

closed

KNBRegistry thesaurus in keyword page doesn' work

Added by Jing Tao over 15 years ago. Updated over 15 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
04/21/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4007

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.

Actions #1

Updated by Jing Tao over 15 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.

Actions #2

Updated by Jing Tao over 15 years ago

move to 1.7

Actions #3

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 4007

Actions

Also available in: Atom PDF