Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.7
-
Component/s: o.c.jsword.book.sword
-
Labels:None
Description
I raised MOD-190 because I couldn't delete BulCarigradNT. There are several comments in MOD-190 that are worth reading but it has been suggested that the logic in JSword's isDeletable method is incorrect although initially I believed the module to be incorrectly named:
BulCarigradNT is not deletable due to the following code:
public boolean isDeletable(Book dead)
So JSword looks for mods.d/bulcarigradnt.conf but the conf file is called bulcarigrad.conf.
JSword should as it reads a conf, store the name of the conf so that it is authoritative. Right now, it assumes that the name of the conf matches the "initials", that is the name in the [] at the top of the file. Such as KJV.
This has been true in the past for modules hosted at CrossWire, but it is not true for xiphos and ibt.
Thanks for figuring this out.