[jsword-devel] [JIRA] Commented: (JS-208) Deleting WelBeiblNet deletes all installed bibles

DM Smith (JIRA) jira at crosswire.org
Sun Feb 19 13:13:12 MST 2012


    [ http://www.crosswire.org/bugs/browse/JS-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=23570#comment-23570 ] 

DM Smith commented on JS-208:
-----------------------------

You did find where the problem is introduced.

The LOCATION_URL was added because several different places in code were computing the directory noted by DataPath.

DATA_PATH is still used by the modules within the backend to access its parts.

The LOCATION_URL should test whether the current value is a directory and if not, then strip off the last part. However, the problem is that until the module is installed, it is unknown.

So, the computation needs to be made late, not early.

> 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
>
> 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