[jsword-devel] [JIRA] Resolved: (JS-130) IndexDownloader does not set IndexStatus after downloading an index
Martin Denham (JIRA)
jira at crosswire.org
Tue Nov 30 05:02:37 MST 2010
[ http://www.crosswire.org/bugs/browse/JS-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Denham resolved JS-130.
------------------------------
Resolution: Fixed
The code change was manually tested by downloading an index and then immediately searching.
> 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