[jsword-devel] [JIRA] Commented: (JS-130) IndexDownloader does not set IndexStatus after downloading an index

DM Smith (JIRA) jira at crosswire.org
Mon Nov 29 07:18:10 MST 2010


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

DM Smith commented on JS-130:
-----------------------------

More out of curiosity: Can you resolve it, marking it fixed in 1.6.1? And can you see if, after that, you can close it?
(it is no big deal for me to do it.)

> IndexDownloader does not set IndexStatus after downloading an index
> -------------------------------------------------------------------
>
>                 Key: JS-130
>                 URL: http://www.crosswire.org/bugs/browse/JS-130
>             Project: JSword
>          Issue Type: Bug
>          Components: o.c.jsword.util
>            Reporter: Martin Denham
>            Assignee: DM Smith
>
> I found it necessary to set the index status after downloading an index in IndexDownloader.downloadIndex(..)
> Just before the finally I added
>             book.deactivate(null);
>             book.activate(null);
>             book.setIndexStatus(IndexStatus.DONE);
> I think the deactivation and reactivation is probably unnecessary but believe the index status needs to be set.  In other words my code started working after I added setIndexStatus but not before.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.crosswire.org/bugs/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jsword-devel mailing list