Closed Bug 1686845 Opened 4 years ago Closed 4 years ago

Undefined reference when adding an image in composer.

Categories

(SeaMonkey :: Composer, defect)

defect
Not set
normal

Tracking

(seamonkey2.53+ fixed, seamonkey2.57esr? affected)

RESOLVED FIXED
seamonkey 2.83
Tracking Status
seamonkey2.53 + fixed
seamonkey2.57esr ? affected

People

(Reporter: frg, Assigned: frg)

References

Details

(Whiteboard: SM2.53.6)

Attachments

(1 file)

If you add an image in the composer window and leave the image dialog with ok an undefined reference error for gMsgCompInputElement will be shown in the log for mailnews/compose/content/mailComposeEditorOverlay.xul. gMsgCompInputElement is not initialized in a composer window only in an image dialog created from the mailnews compose window.

moz-do-not-send seems not to be set as a result but this seems to be mostly harmless. Becuase I am unable to test uploading right now I am unsure if it has other implications but not a new error.

For comm-central the code is now in https://searchfox.org/comm-central/source/suite/editor/components/dialogs/content/EdImageLinkLoader.js#54

[Approval Request Comment]
Regression caused by (bug #): 1316570
User impact if declined: error in the log only it seems.
Testing completed (on m-c, etc.): 2.53.6
Risk to taking this patch (and alternatives if risky): Trivial. Only occurence where this check isn't yet done.
String changes made by this patch: --

Attachment #9197231 - Flags: review?(iann_bugzilla)
Attachment #9197231 - Flags: approval-comm-release?
Attachment #9197231 - Flags: approval-comm-esr60?
Blocks: 1686851

Comment on attachment 9197231 [details] [diff] [review]
1686845-fixundefinecomposer-2536.patch

[Triage Comment]
LGTM r/a=me

Attachment #9197231 - Flags: review?(iann_bugzilla)
Attachment #9197231 - Flags: review+
Attachment #9197231 - Flags: approval-comm-release?
Attachment #9197231 - Flags: approval-comm-release+
Attachment #9197231 - Flags: approval-comm-esr60?
Attachment #9197231 - Flags: approval-comm-esr60+

Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/9d27d083ac0a
Check for undefined variable in Composer image dialog. r=IanN

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Future
Target Milestone: Future → seamonkey 2.83
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: