Closed
Bug 524800
Opened 15 years ago
Closed 15 years ago
Clicking the Website link in feed article message header does nothing (NS_ERROR_MALFORMED_URI)
Categories
(Thunderbird :: Message Reader UI, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
Thunderbird 3.0rc1
People
(Reporter: wladow, Assigned: BenB)
References
Details
(Keywords: regression, Whiteboard: [no l10n impact])
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
Details | Diff | Splinter Review |
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.5pre) Gecko/20091027 Shredder/3.0pre
- open Shredder's feed reader and load any article
- click the Website link in message header
- it should be opened in a web browser, but nothing happens
Error console says:
Error: uncaught exception: [Exception... "Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIMessenger.launchExternalURL]" nsresult: "0x804b000a (NS_ERROR_MALFORMED_URI)" location: "JS frame :: chrome://communicator/content/utilityOverlay.js :: openUILink :: line 296" data: no]
Works fine in 20091026.
Updated•15 years ago
|
Flags: blocking-thunderbird3?
window:
20091026 works
20091027 does not
20091028 does not
it was just introduced that new multi line header text wrapping (or so), maybe related...
click on a website link in the msg header (nothing happens):
Error: uncaught exception: [Exception... "Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIMessenger.launchExternalURL]" nsresult: "0x804b000a (NS_ERROR_MALFORMED_URI)" location: "JS frame :: chrome://communicator/content/utilityOverlay.js :: openUILink :: line 296" data: no]
rclick and copy link (does not copy)
Error: uncaught exception: [Exception... "Could not convert JavaScript argument arg 0 [nsIObserverService.removeObserver]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: chrome://messenger/content/search.xml :: :: line 294" data: no]
Comment 2•15 years ago
|
||
Regression from bug 489609. Looks like the mail-headerfield binding changed where it stored the text, but the mail-urlfield didn't. This scares me in case there are other subtle locations where this has changed.
Blocks: subjectwrap
Flags: blocking-thunderbird3? → blocking-thunderbird3+
OS: Windows Vista → All
Hardware: x86 → All
Target Milestone: --- → Thunderbird 3.0rc1
Assignee | ||
Comment 3•15 years ago
|
||
Fix is trivial. The binding mail-urlfield inherits from mail-headerfield, and directly accessed attributes/properties of the textbox. We just need to change it to use .headerValue instead of .value.
At least I think so. I'll attach a prototype patch. I can't test it at the moment, because I am not using the feed reader, so the patch may not work.
> This scares me in case there are other subtle locations where this has changed.
I looked for any other XBL widgets which inherit from mail-headerfield, and found none.
Assignee: nobody → ben.bucksch
Assignee | ||
Comment 4•15 years ago
|
||
As said, may not work, but if so, needs only minor adjustments.
Reporter | ||
Comment 5•15 years ago
|
||
Doesn't work, this.headerValue is undefined.
Assignee | ||
Comment 6•15 years ago
|
||
This works for me. It simply adapts .value -> .textContent (and <label> -> <description>, because we now set .textContent).
Better would be to:
- use .headerValue, but I don't know how to get to the XBL widget from the contained <description> object - .parentNode didn't work.
- maybe simply remove the inheritance, as only one line (the headerValue property) is inherited.
Attachment #408939 -
Attachment is obsolete: true
Assignee | ||
Updated•15 years ago
|
Attachment #408969 -
Flags: review?(bugzilla)
Updated•15 years ago
|
Whiteboard: [no l10n impact]
Assignee | ||
Updated•15 years ago
|
Attachment #408969 -
Flags: review?(bugzilla) → review?(bwinton)
Updated•15 years ago
|
Attachment #408969 -
Flags: review?(bwinton) → review+
Comment 7•15 years ago
|
||
Comment on attachment 408969 [details] [diff] [review]
Fix, v2
>+++ b/mail/base/content/mailWidgets.xml
>- <xul:label onclick="if (event.button != 2) openUILink(event.target.value, event);"
>+ <xul:description onclick="if (event.button != 2) openUILink(event.target.textContent, event);"
You could split this on to two lines. Or not. Whatever.
Other than that, and I don't even really count that, it looks good to me.
Later,
Blake.
Assignee | ||
Comment 8•15 years ago
|
||
Attachment #408969 -
Attachment is obsolete: true
Attachment #409111 -
Flags: approval-thunderbird3?
Reporter | ||
Comment 9•15 years ago
|
||
Ok, this seems to be working fine.
The bug is marked as blocking‑thunderbird3+, you don't need another approval, I think.
Assignee | ||
Updated•15 years ago
|
Attachment #409111 -
Flags: approval-thunderbird3?
Assignee | ||
Comment 10•15 years ago
|
||
Comment on attachment 409111 [details] [diff] [review]
Fix, v3 - whitespace changes only
Oh, right.
http://hg.mozilla.org/comm-central/rev/9761dee74d12
http://hg.mozilla.org/releases/comm-1.9.1/rev/27c3a3bf741c
Assignee | ||
Comment 11•15 years ago
|
||
FIXED
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 12•15 years ago
|
||
This is not working on 20091029 nightly. The "website" link on RSS feed messages does nothing when clicked, and right-click "Copy Link Location" leaves the clipboard empty.
WinXP SP3.
Assignee | ||
Comment 13•15 years ago
|
||
Yes? Because I just fixed it less than an hour before you commented, and the your build doesn't have the fix yet?
Reporter | ||
Comment 15•15 years ago
|
||
Verified with Mozilla/5.0 (Windows; U; Windows NT 6.0; sk; rv:1.9.1.5pre) Gecko/20091030 Shredder/3.0pre
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•