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

Martin Denham (JIRA) jira at crosswire.org
Tue Nov 23 16:08:54 MST 2010


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