Closed Bug 442360 Opened 17 years ago Closed 17 years ago

Drag and drop of folders broken (yet again)

Categories

(Thunderbird :: Mail Window Front End, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3

People

(Reporter: rain1, Assigned: rain1)

References

Details

(Keywords: regression)

Attachments

(1 file)

So drag/drop of folders broke somewhere between 21st and 22nd June. nightlies: 2008062103 - working 2008062203 - broken
Severity: normal → major
Reversing the "clean up folder selection v2" patch in bug 414038 fixes this.
Blocks: 414038
So what's happening is that GetSelectedFolders now returns an array of folder objects instead of one of folder URIs. http://mxr.mozilla.org/mozilla/source/mailnews/base/resources/content/messengerdnd.js#445 What's happening here: http://mxr.mozilla.org/mozilla/source/mailnews/base/resources/content/messengerdnd.js#517 is that "id" is a folder object, and instead of the useful folder URI being stored in genTextData, the text "[xpconnect wrapped...]" gets stored. The fix simply gets the URI in case id is a folder.
Assignee: nobody → sid1337
Status: NEW → ASSIGNED
Attachment #327259 - Flags: superreview?(bienvenu)
Attachment #327259 - Flags: review?(bienvenu)
Comment on attachment 327259 [details] [diff] [review] fix [Checkin: Comment 5] thx, Sid - this fixes the problem for me.
Attachment #327259 - Flags: superreview?(bienvenu)
Attachment #327259 - Flags: superreview+
Attachment #327259 - Flags: review?(bienvenu)
Attachment #327259 - Flags: review+
Keywords: checkin-needed
mailnews/base/resources/content/messengerdnd.js 1.68
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
OS: Windows Vista → All
Hardware: PC → All
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3
Attachment #327259 - Attachment description: fix → fix [Checkin: Comment 5]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: