Bug 1310864

Summary: global search not working anymore; index not rebuild
Product: [Fedora] Fedora Reporter: Ronald Wahl <rwahl>
Component: thunderbirdAssignee: Gecko Maintainer <gecko-bugs-nobody>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 23CC: chkr, gecko-bugs-nobody, marianne, ncross, netwiz, pjasicek, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-26 14:25:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ronald Wahl 2016-02-22 20:37:48 UTC
Description of problem:
The global search does not work anymore and the sqlite index is not rebuilt when removed.

Version-Release number of selected component (if applicable):
thunderbird-38.6.0-1.fc23.x86_64

How reproducible:
always

Steps to Reproduce:
1. When global index exists try to search something
2. exit thunderbird
3. remove index file (global-messages-db.sqlite)
4. start thunderbird

Actual results:
- empty tab is shown when searching
- index file is recreated but is empty and no cpu activity (no reindexing takes place)


Expected results:
- search results
-index recreating takes place

Additional info:
this started with latest thunderbird update - maybe because of new sqlite?

shown on the console:
JavaScript error: resource:///modules/gloda/datastore.js, line 1543: TypeError: this.asyncConnection is null

Comment 1 Christian Krause 2016-02-23 10:38:59 UTC
Same problem here. After some testing I'm quite sure that the sqlite update is the culprit:

sqlite-3.10.2-1.fc23.x86_64:
global search and "Open mail in Conversation" work

sqlite-3.11.0-1.fc23.x86_64:
global search and "Open mail in Conversation" do NOT work


There is one more bug report about another problem in thunderbird with the new sqlite package:
https://bugzilla.redhat.com/show_bug.cgi?id=1311032

Comment 2 Steven Haigh 2016-02-25 02:11:57 UTC
The builds of Thunderbird here fixes global search for me:
http://koji.fedoraproject.org/koji/buildinfo?buildID=738231

Leave feedback here:
https://bodhi.fedoraproject.org/updates/FEDORA-2016-d50cdefcef

Comment 3 Steven Haigh 2016-02-25 02:16:26 UTC
The changelogs state:
* Tue Feb 23 2016 Martin Stransky <stransky> - 38.6.0-3
- Disabled system sqlite due to rhbz#1311032

Are we now doing static compilation of sqlite into Thunderbird? If so, long term this is probably a bad move.

Comment 4 Martin Stransky 2016-02-26 14:25:05 UTC
We can re-enable system sqlite when works fine with thunderbird.

*** This bug has been marked as a duplicate of bug 1311032 ***