[jsword-devel] [JIRA] Created: (JS-207) Cannot delete BulCarigradNT

Martin Denham (JIRA) jira at crosswire.org
Sat Feb 11 10:06:33 MST 2012


Cannot delete BulCarigradNT
---------------------------

                 Key: JS-207
                 URL: http://www.crosswire.org/bugs/browse/JS-207
             Project: JSword
          Issue Type: Bug
          Components: o.c.jsword.book.sword
            Reporter: Martin Denham
            Assignee: DM Smith
            Priority: Minor


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) { SwordBookMetaData sbmd = (SwordBookMetaData) dead.getBookMetaData(); File dlDir = SwordBookPath.getSwordDownloadDir(); File confFile = new File(dlDir, sbmd.getConfPath()); // We can only uninstall what we download into our download dir. return confFile.exists(); }

So JSword looks for mods.d/bulcarigradnt.conf but the conf file is called bulcarigrad.conf.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jsword-devel mailing list