bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

reference to undefined property this.lastMessage.sourceFolder in resource:///modules/activity/moveCopy.js

RESOLVED FIXED in Thunderbird 37.0

Status

Thunderbird
Mail Window Front End
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: aceman, Assigned: aceman)

Tracking

Trunk
Thunderbird 37.0

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

3.73 KB, patch
Magnus Melin
: review+
Details | Diff | Splinter Review
(Assignee)

Description

4 years ago
After moving a message in a POP3 folder I consistently get this warning:

Warning: ReferenceError: reference to undefined property this.lastMessage.sourceFolder
Source File: resource:///modules/activity/moveCopy.js
Line: 129
(Assignee)

Updated

4 years ago
Status: NEW → ASSIGNED
OS: Windows XP → All
Hardware: x86 → All
(Assignee)

Comment 1

4 years ago
Created attachment 8536124 [details] [diff] [review]
patch

It seems the bug was that the == operator takes precedence before ?: . I also fix some 'let blocks are deprecated' warnings that are issued from the activity manager at the same action (copying/moving a message). Hopefully the blocks didn't do some special hack that will now be broken by unwrapping the block.
Attachment #8536124 - Flags: review?(mkmelin+mozilla)

Comment 2

4 years ago
Comment on attachment 8536124 [details] [diff] [review]
patch

Review of attachment 8536124 [details] [diff] [review]:
-----------------------------------------------------------------

LGTM, thx! r=mkmelin
Attachment #8536124 - Flags: review?(mkmelin+mozilla) → review+
(Assignee)

Updated

4 years ago
Keywords: checkin-needed

Comment 3

4 years ago
https://hg.mozilla.org/comm-central/rev/5f3b32931eda -> FIXED
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 37.0
You need to log in before you can comment on or make changes to this bug.