Details
-
Type: Bug
-
Status: Open (View Workflow)
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: o.c.jsword.book.sword
-
Labels:None
Description
For newly installed modules SwordBookDriver.isDeletable returns false.
The reason for this is that sbmd.getConfigFile() is null for newly installed modules.
This is because AbstractSwordInstaller.loadCachedIndex() uses
new SwordBookMetaData(buffer, internal);
which uses:
cet.load(byte[]) // does not set configFile
instead of
cet.load(File) // sets configFile
I am not sure of the best solution to this. I can attempt a change if somebody suggests an appropriate fix.