Closed
Bug 528389
Opened 17 years ago
Closed 3 years ago
Can't reply to Get Satisfaction RSS feeds from TB 3.0 RC1
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: rkent, Unassigned)
Details
(Whiteboard: [patchlove][needs tests + maybe new patch])
Attachments
(1 file)
|
678 bytes,
patch
|
Details | Diff | Splinter Review |
If I try to reply to a topic within an RSS feed from Get Satisfaction from TB 3.0 RC1, that reply does not succeed, and a blank window tries to open in FF with the URL, for example:
http://getsatisfaction.com/mozilla_messaging/topics/can_thunderbird_3_0_rc1_reply_to_rss_feeds_of_get_satisfaction_this_is_a_test/replies
I can successfully reply from TB 3.0 beta 4, so this is a regression.
Comment 1•17 years ago
|
||
This might or might not block Thunderbird 3.
Adding Standard8, as this could be a regression from recent content-policy and protocol expose changes.
Adding davida and clarkbw, as this could effect web-content extensions as well.
Adding qawanted, as it would be helpful to know whether it actually does also effect web-content extensions, and whether the RSS form as described in comment 0 is a regression from Tb2.
Component: General → Mail Window Front End
Flags: blocking-thunderbird3?
Keywords: qawanted
QA Contact: general → front-end
| Reporter | ||
Comment 2•17 years ago
|
||
As soon as I startup, I'm getting in the error console these two errors:
Error: msgHdr is null
Source File: chrome://messenger/content/mailWindowOverlay.js
Line: 862
Error: mismatched tag. Expected: </meta>.
Source File:
https://addons.mozilla.org/thunderbird/browse/type:1/cat:all/sort:newest/format:rss
Line: 15, Column: 3
Source Code:
</head>
I don't think though they are related to this bug. When I open the RSS message,
and try to reply, no new errors are appearing.
Comment 3•17 years ago
|
||
Trying to replicate this, here's the steps I'm doing:
1) Use a content tab to log into getsatisfaction:
Components.classes['@mozilla.org/appshell/window-mediator;1'].getService(Components.interfaces.nsIWindowMediator).getMostRecentWindow("mail:3pane").document.getElementById("tabmail").openTab("contentTab", {contentPage: "http://getsatisfaction.com/", clickHandler: "specialTabs.siteClickHandler(event, new RegExp('http://getsatisfaction.com'));"});
2) Subscribe to http://getsatisfaction.com/mozilla_messaging/topics/can_thunderbird_3_0_rc1_reply_to_rss_feeds_of_get_satisfaction_this_is_a_test.rss as an RSS feed.
3) Open the feed as a message, select view body as web page.
4) Site loads, note near the top of the page the message:
"Get satisfaction uses javascript and cookies. You'll need to enable Javascript and cookies to log-in an participate."
5) Ignore the message as it at least thinks I'm logged in.
6) Enter a message text.
7) Press "Post reply".
Result: Opens the page in Firefox as Kent said in comment 0.
8) Open the page in a content tab:
Components.classes['@mozilla.org/appshell/window-mediator;1'].getService(Components.interfaces.nsIWindowMediator).getMostRecentWindow("mail:3pane").document.getElementById("tabmail").openTab("contentTab", {contentPage: "http://getsatisfaction.com/mozilla_messaging/topics/can_thunderbird_3_0_rc1_reply_to_rss_feeds_of_get_satisfaction_this_is_a_test#reply_1579691", clickHandler: "specialTabs.siteClickHandler(event, new RegExp('http://getsatisfaction.com'));"});
9) Enter response and hit post reply.
Result: Response is posted.
Comment 4•17 years ago
|
||
Going back to beta 4 does indeed allow posting reply from the RSS feed.
I've got a hunch that this is something to do with the contentAreaClick/hRefForClickEvent functions - there was a correction I had to do for content tabs and it surprised me that it was there anyway.
Comment 5•17 years ago
|
||
Oh, I just tried this in Thunderbird 2. I couldn't get it to log in and/or save the cookies, even using the CS Lite extension. I guess you may be able to download FF 2 and copy the cookies across.
Comment 6•17 years ago
|
||
So this patch fixes this specific issue. Basically without it we're redirecting form clicks to an external browser.
What I don't yet understand, is why did getsatisfaction work before, and what the effects of this patch may be. I thought that previously all form clicks in the message pane were pushed out to the browser, but maybe I was wrong.
I need to come up with some test cases at least even if I can't put them in automation yet.
Assignee: nobody → bugzilla
Status: NEW → ASSIGNED
Updated•16 years ago
|
Whiteboard: [has patch][needs some testcases]
Comment 7•16 years ago
|
||
Not blocking on this as is isn't significant enough (doesn't apply to content tabs), but we'll take the patch as ride-along in a respin (if we're happy with it).
Flags: blocking-thunderbird3? → blocking-thunderbird3-
Whiteboard: [has patch][needs some testcases] → [has patch][needs some testcases][tb3ride-along]
Comment 8•16 years ago
|
||
The JS expression to be evaluated in the error console given in step 1 of
comment 3 had issues, here's a fixed version:
Components.classes['@mozilla.org/appshell/window-mediator;1'].getService(Components.interfaces.nsIWindowMediator).getMostRecentWindow("mail:3pane").document.getElementById("tabmail").openTab("contentTab",{contentPage:
"http://getsatisfaction.com/",
clickHandler:"specialTabs.siteClickHandler(event,
new,RegExp('http://getsatisfaction.com'));"});
Comment 9•16 years ago
|
||
(In reply to comment #8)
> The JS expression to be evaluated in the error console given in step 1 of
> comment 3 had issues, here's a fixed version:
Ah maybe you got caught by the copy & paste of multiple lines having an extra comma included instead of the line feed? Sorry, I spotted that the other day and forgot to comment.
Comment 10•16 years ago
|
||
As discussed on irc. We need to:
- check to see if we should be checking aEvent.getPreventDefault() in the contentAreaClick function.
- Investigate writing some tests.
Other things to remember:
- getsatisfaction uses forms with post urls, but actually overrides the functionality of the form submit with onsubmit and javascript. This makes it different to the standard form behaviour within TB.
As a result we're not going to take this in a tb3 ride-along, but fix it for 3.1.
Whiteboard: [has patch][needs some testcases][tb3ride-along] → [needs tests + maybe new patch]
Target Milestone: --- → Thunderbird 3.1a1
Updated•14 years ago
|
Assignee: mbanner → nobody
Status: ASSIGNED → NEW
Target Milestone: Thunderbird 3.1a1 → ---
Updated•11 years ago
|
Whiteboard: [needs tests + maybe new patch] → [patchlove][needs tests + maybe new patch]
Updated•8 years ago
|
Updated•4 years ago
|
Severity: minor → S4
Comment 11•3 years ago
|
||
Front end code is now different in 115.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•