Closed Bug 301332 Opened 19 years ago Closed 19 years ago

Failed to get string when selecting and/or in Search Messages/Addresses

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Linux
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird1.1

People

(Reporter: standard8, Assigned: mscott)

Details

Attachments

(1 file)

Steps to reproduce:

1) Start Thunderbird or SeaMonkey then
2) open Search Messages or Search Addresses dialog
3) select either "Match All of the Following"
4) Observe on the console:

*** Failed to get string searchAnd0 in bundle:
chrome://messenger/locale/search.properties
*** Failed to get string searchAnd1 in bundle:
chrome://messenger/locale/search.properties
*** Failed to get string searchAnd2 in bundle:
chrome://messenger/locale/search.properties
*** Failed to get string searchAnd3 in bundle:
chrome://messenger/locale/search.properties

5) Selecting "Match Any of the Following" similarily gives:

*** Failed to get string searchOr0 in bundle:
chrome://messenger/locale/search.properties
*** Failed to get string searchOr1 in bundle:
chrome://messenger/locale/search.properties
*** Failed to get string searchOr2 in bundle:
chrome://messenger/locale/search.properties
*** Failed to get string searchOr3 in bundle:
chrome://messenger/locale/search.properties

The strings don't appear to have existed for quite a while, and we seem to be
trying to access them from this bit of code:

http://lxr.mozilla.org/seamonkey/source/mailnews/base/search/resources/content/searchTermOverlay.js#140

Thunderbird linux - build id version 1.0+ (20050718)
Attached patch the fix β€” β€” Splinter Review
remove some dead code, simplify the assignment logic.
Attachment #189798 - Flags: superreview?(bienvenu)
Attachment #189798 - Flags: review?(bugzilla)
Attachment #189798 - Flags: superreview?(bienvenu) → superreview+
Attachment #189798 - Flags: review?(bugzilla) → review+
Attachment #189798 - Flags: approval1.8b4?
Attachment #189798 - Flags: approval1.8b4? → approval1.8b4+
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird1.1
Weren't there some locales that wanted these strings at one point?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: