Closed Bug 400997 Opened 17 years ago Closed 16 years ago

Sunbird 0.7: Exception during reading 'errorTitle' from calendar.properties

Categories

(Mozilla Localizations :: de / German, defect)

x86
Windows 2000
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ssitter, Assigned: thorsten.fritz)

References

()

Details

Mozilla/5.0 (Windows; U; Windows NT 5.0; de; rv:1.8.1.8pre) Gecko/20071023 Sunbird/0.7

If one tries to import the same event twice or tries to import event without valid timezone Sunbird displays a corresponding error message. In the German Sunbird 0.7 the message is not shown. Instead an exception is displayed in Error Console:

Fehler: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStringBundle.GetStringFromName]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://calendar/content/calUtils.js :: calGetString :: line 490"  data: no]

Some dumps showed that this happens during reading the property 'errorTitle' from calendar.properties used for the message title.
<http://lxr.mozilla.org/l10n-mozilla1.8/source/de/calendar/chrome/calendar/calendar.properties#192>

Upon looking at the files this seems to be caused by the faulty multiline property 'outlookCSVDateParseConfirm' above 'errorTitle'. The first line doesn't end with a "\" character breaking the parser.
<http://lxr.mozilla.org/l10n-mozilla1.8/source/de/calendar/chrome/calendar/calendar.properties#185>

Adding the "\" fixes the error for me.

This error has been seen before, see e.g.
<http://www.sunbird-kalender.de/forum/viewtopic.php?t=1207>
<http://www.sunbird-kalender.de/forum/viewtopic.php?t=1630>
<http://www.sunbird-kalender.de/forum/viewtopic.php?t=1722>
Assignee: nobody → chef
Blocks: 412641
Was this fixed with the current update for 0.8 RC too?
Can this bug be resolved as FIXED? It works for me using Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.13pre) Gecko/2008020921 Calendar/0.8pre.
--> WFM
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.