cmd.idle-back.help and cmd.idle-away.help are not defined

RESOLVED FIXED

Status

Other Applications
ChatZilla
--
trivial
RESOLVED FIXED
10 years ago
10 years ago

People

(Reporter: Andrew Schultz, Assigned: Mitch)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [cz-0.9.82])

Attachments

(1 attachment)

(Reporter)

Description

10 years ago
With trunk chatzilla, I get assertions at startup:

cz:   ** ASSERTION FAILED: caught exception getting value for ``cmd.idle-back.help''
cz:   ** ASSERTION FAILED: caught exception getting value for ``cmd.idle-away.help''

It seems that both commands do not have the CMD_NO_HELP flag and help strings for those two commands are not given in chatzilla.properties.

Updated

10 years ago
Severity: normal → trivial
OS: Linux → All
Hardware: PC → All
(Assignee)

Comment 1

10 years ago
Created attachment 306737 [details] [diff] [review]
Patch v1.0

This patch adds the aforementioned help strings.

Updated

10 years ago
Attachment #306737 - Flags: review+

Updated

10 years ago
Assignee: rginda → mitch_1_2

Comment 2

10 years ago
Checking in mozilla/extensions/irc/locales/en-US/chrome/chatzilla.properties;
/cvsroot/mozilla/extensions/irc/locales/en-US/chrome/chatzilla.properties,v  <--  chatzilla.properties
new revision: 1.155; previous revision: 1.154
done
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Whiteboard: [cz-0.9.82]

Comment 3

10 years ago
Probably the same, I guess (Chatzilla 0.9.81, Firefox 2.0.0.14 as of 22/4/08):

cz: Initializing ChatZilla {
cz:   ** ASSERTION FAILED: caught exception getting value for ``cmd.idle-away.help''
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStringBundle.GetStringFromName]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://chatzilla/content/lib/js/message-manager.js :: mm_getfrom :: line 365"  data: no]
 **
<top>
_assert@59
mm_getfrom@381
getMsgFrom@151
cmdmgr_defcmd@241
cmgr_defcmds@198
initCommands@271
init@164
onLoad@92
onload@1
[anonymous]@0

cz:   ** ASSERTION FAILED: caught exception getting value for ``cmd.idle-back.help''
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStringBundle.GetStringFromName]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://chatzilla/content/lib/js/message-manager.js :: mm_getfrom :: line 365"  data: no]
 **
<top>
_assert@59
mm_getfrom@381
getMsgFrom@151
cmdmgr_defcmd@241
cmgr_defcmds@198
initCommands@271
init@164
onLoad@92
onload@1
[anonymous]@0

cz: } 0.937 sec
cz: can't find frame for window (stop)
cz: ** UNKNOWN mode symbol 'c' in ChanMode event **
cz-service: Existing, fully loaded window. Using.
You need to log in before you can comment on or make changes to this bug.