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

Martin Denham (JIRA) jira at crosswire.org
Mon Nov 29 06:21:10 MST 2010


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

Martin Denham commented on JS-130:
----------------------------------

I have done a manual test after this change and it seems to work fine.

This issue can be closed now.  I don't think I have privileges to close an issue myself.

> 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