Closed
Bug 340994
Opened 19 years ago
Closed 19 years ago
FOAF tries to use feed preview mode, but fails with TypeError
Categories
(Firefox Graveyard :: RSS Discovery and Preview, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 2 beta2
People
(Reporter: bugzilla1, Assigned: sayrer)
References
()
Details
(Keywords: fixed1.8.1)
Attachments
(1 file)
2.36 KB,
patch
|
mconnor
:
review+
mtschrep
:
approval1.8.1+
|
Details | Diff | Splinter Review |
Expected behaviour: Either displaying raw XML or a pretty display
Actual behaviour: Tries to use feed preview, but fails miserably displaying the following message
There was an error processing this feed. It's our fault. :-( You can still subscribe to the feed if you know what it is. For reference, the error was:
TypeError: container has no properties
Assignee | ||
Updated•19 years ago
|
Assignee: nobody → sayrer
Assignee | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
Flags: blocking-firefox2?
Target Milestone: --- → Firefox 2 beta1
Assignee | ||
Comment 1•19 years ago
|
||
The sniffer shouldn't send this to the feed parser in the first place, so see bug 341040. However, the feed parser can cope with bogus input better.
Assignee | ||
Updated•19 years ago
|
Whiteboard: [swag: 1d]
Updated•19 years ago
|
Target Milestone: Firefox 2 beta1 → Firefox 2 beta2
Assignee | ||
Comment 3•19 years ago
|
||
This patch accounts for this in FP_sendResult, but you'll also need to handle this in FeedConverter.js. Is there a way to force text/xml processing in a new request?
There's also a sniffer bug here.
Attachment #228694 -
Flags: review?(bugs)
Assignee | ||
Comment 4•19 years ago
|
||
Comment 5•19 years ago
|
||
I think the friendly error message is nicer than showing the user the raw XML at first pass, but we should probably have some way for the user to get to that source. For example, adding a "See the contents of the file ..." link to the bottom of the error message which then loads the raw file.
Or just telling them about view source, but then I guess they don't get the expand/collapse controls.
Updated•19 years ago
|
Whiteboard: [swag: 1d] → [has patch][needs review ben]
Comment 6•19 years ago
|
||
Comment on attachment 228694 [details] [diff] [review]
result.doc can be null
r=me, guessing Ben's probably overloaded since this has sat for a long time.
Attachment #228694 -
Flags: review?(bugs) → review+
Comment 7•19 years ago
|
||
Robert, can you file a separate bug on the front end portion and resolve this?
Whiteboard: [has patch][needs review ben] → [has patch][checkin needed]
Assignee | ||
Comment 8•19 years ago
|
||
Checking in src/FeedProcessor.js;
/cvsroot/mozilla/toolkit/components/feeds/src/FeedProcessor.js,v <-- FeedProcessor.js
new revision: 1.8; previous revision: 1.7
done
Checking in public/nsIFeedResult.idl;
/cvsroot/mozilla/toolkit/components/feeds/public/nsIFeedResult.idl,v <-- nsIFeedResult.idl
new revision: 1.2; previous revision: 1.1
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•19 years ago
|
Whiteboard: [has patch][checkin needed]
Assignee | ||
Comment 9•19 years ago
|
||
(In reply to comment #7)
> Robert, can you file a separate bug on the front end portion and resolve this?
>
Bug 346312, but drivers better blockerize that ;)
Assignee | ||
Updated•19 years ago
|
Attachment #228694 -
Flags: approval1.8.1?
Updated•19 years ago
|
Attachment #228694 -
Flags: approval1.8.1? → approval1.8.1+
Assignee | ||
Comment 10•19 years ago
|
||
Checking in src/FeedProcessor.js;
/cvsroot/mozilla/toolkit/components/feeds/src/FeedProcessor.js,v <-- FeedProcessor.js
new revision: 1.1.2.9; previous revision: 1.1.2.8
done
Checking in public/nsIFeedResult.idl;
/cvsroot/mozilla/toolkit/components/feeds/public/nsIFeedResult.idl,v <-- nsIFeedResult.idl
new revision: 1.1.2.3; previous revision: 1.1.2.2
done
Keywords: fixed1.8.1
Updated•6 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•