[jsword-devel] [JIRA] Commented: (JS-208) Deleting WelBeiblNet deletes all installed bibles
Martin Denham (JIRA)
jira at crosswire.org
Sat Feb 18 14:39:17 MST 2012
[ http://www.crosswire.org/bugs/browse/JS-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=23470#comment-23470 ]
Martin Denham commented on JS-208:
----------------------------------
This is as an error with the modules .conf file because both SwordBookMetaData.setLibrary and wiki/DevTools:conf_Files state the path must end in a / if it is a directory.
However, Xiphos (and probably other Sword apps) do not delete all installed bibles if the final slash is missing so it would be good to make this code a bit safer.
There only seem to be a couple of .conf files with a missing final / but I will raise an error in MOD for those modules.
> Deleting WelBeiblNet deletes all installed bibles
> -------------------------------------------------
>
> Key: JS-208
> URL: http://www.crosswire.org/bugs/browse/JS-208
> Project: JSword
> Issue Type: Bug
> Components: o.c.jsword.book.sword
> Environment: Windows, Android
> Reporter: Martin Denham
> Assignee: DM Smith
> Priority: Critical
>
> I installed WelBeiblNet this morning and then deleted it using the standard front end delete method. However this deleted the ztext directory, removing all installed bibles.
> It seems the cause was that the DataPath entry in the .conf file did not end in a /
> I tested on Bible Desktop and And Bible.
> It would be great to get a fix for this that I could apply locally - I am not using the current tip.
--
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