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)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 2 beta2

People

(Reporter: bugzilla1, Assigned: sayrer)

References

()

Details

(Keywords: fixed1.8.1)

Attachments

(1 file)

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: nobody → sayrer
Status: NEW → ASSIGNED
Flags: blocking-firefox2?
Target Milestone: --- → Firefox 2 beta1
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.
SWAG?
Flags: blocking-firefox2? → blocking-firefox2+
Whiteboard: [swag: 1d]
Target Milestone: Firefox 2 beta1 → Firefox 2 beta2
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)
(In reply to comment #3) > > There's also a sniffer bug here. > bug 341040
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.
Whiteboard: [swag: 1d] → [has patch][needs review ben]
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+
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]
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
Whiteboard: [has patch][checkin needed]
(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 ;)
Attachment #228694 - Flags: approval1.8.1?
Attachment #228694 - Flags: approval1.8.1? → approval1.8.1+
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
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: