An NS_ERROR_UNEXPECTED exception is always thrown while searching in any address book into the "Advanced Address Book Search" dialog
Categories
(Thunderbird :: Address Book, defect)
Tracking
(Not tracked)
People
(Reporter: cmgaudry33, Unassigned)
Details
Attachments
(1 file)
|
1.84 KB,
patch
|
thomas8
:
feedback+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36
Steps to reproduce:
- Display the "Advanced Address Book Search" dialog.
- Select any address book.
- Enter a search criteria
- Perform the search
Actual results:
The following exception is always thrown without any result :
NS_ERROR_UNEXPECTED: Unexpected uri: jsaddrbook://abook-<ADDRESS_BOOK_NUMBER>.sqlite?(and(DisplayName,c,<SEARCH_CRITERIA>))
init resource:///modules/AddrBookDirectory.jsm:145
createDirectoryObject resource:///modules/AddrBookManager.jsm:120
getDirectory resource:///modules/AddrBookManager.jsm:280
GetDirectoryFromURI chrome://messenger/content/addressbook/abCommon.js:998
SetAbView chrome://messenger/content/addressbook/abResultsPane.js:84
onSearch chrome://messenger/content/addressbook/abSearchDialog.js:337
onSearchButton chrome://messenger/content/addressbook/abSearchDialog.js:343
oncommand chrome://messenger/content/addressbook/abSearchDialog.xhtml:1
Expected results:
No exception
| Reporter | ||
Comment 1•5 years ago
|
||
Pay attention to the patch file, it contains CRLFs instead of LF.
| Reporter | ||
Updated•5 years ago
|
Comment 2•5 years ago
|
||
Bug 1668147 likely fixed it. Can you test 78.4.1 when that's out (soon).
| Reporter | ||
Comment 3•5 years ago
|
||
I confirm that it is fixed in 78.4.1.
Updated•5 years ago
|
Comment 4•5 years ago
|
||
Comment 5•5 years ago
|
||
ni?Chris (FYI)
To avoid creating patches for bugs which others have already fixed (or are in the process of fixing):
- Check if a bug for your problem already exists:
- When you enter your summary, BMO will list existing bugs (including fixed), check them carefully
- Search for existing bugs (including fixed, using ALL keyword) yourself, in this case e.g. you could have searched for:
https://bugzilla.mozilla.org/buglist.cgi?quicksearch=ALL%20%3Athun%2Cmailn%20Advanced%20Address%20Book%20Search&list_id=15484326
- Ensure that you're using the "Thunderbird Daily" release channel for fixing bugs. You can still use your preferred method. Note that your patches must apply to "Trunk" (almost same as Daily) anyway.
- Download Daily from here: https://ftp.mozilla.org/pub/thunderbird/nightly/latest-comm-central/
- Install separately with a separate test profile (should do that automatically) - don't use important production data with Daily.
- Adjust your Daily start link like this:
"...\thunderbird.exe" -no-remote -purgecaches -devtools -allow-downgrade - Switch off automatic upgrading so that it doesn't get in the way, and decline upgrade requests until you're ready for them.
≡ > Options > search for "Updates" > (o) Check for Updates, but let me choose whether to install them.
Comment 6•5 years ago
|
||
Resolved duplicate per reporter's comment 3 and per patch content.
| Reporter | ||
Comment 7•5 years ago
|
||
Sorry for the inconvenience but I get paid to work on the latest French release.
I will try to format my patch for the daily US version. But I can't really test it which it doesn't really suit me.
Description
•