subscribing to feed impossible

Bug #84703 reported by Guillaume D.
6
Affects Status Importance Assigned to Milestone
Mozilla Thunderbird
Fix Released
Medium
thunderbird (Ubuntu)
Fix Released
Medium
Mozilla Bugs

Bug Description

Binary package hint: mozilla-thunderbird

This may be a partial duplicate of #55894.

Symptoms are identical to what is describe here: http://ubuntuforums.org/showthread.php?t=243994

guillaume@glop ~> dpkg -s mozilla-thunderbird
Package: mozilla-thunderbird
Status: install ok installed
Priority: optional
Section: mail
Installed-Size: 29596
Maintainer: Ubuntu Core Developers <email address hidden>
Architecture: i386
Version: 1.5.0.9-0ubuntu0.6.10

Revision history for this message
In , Mkmelin+mozilla (mkmelin+mozilla) wrote :

Got a sample URL?

Revision history for this message
In , Tuukka Tolvanen (sp3000) wrote :

Created attachment 239894
working example feed

not really since I came across this while piling a feed hack on top of a forum hack... but here's the first google hit of an atom feed

Revision history for this message
In , Tuukka Tolvanen (sp3000) wrote :

Created attachment 239895
failing example feed

...and same with feed/link rel=alternate removed

Revision history for this message
In , Alta88 (alta88) wrote :

this may be related, in the general 'not handling bad feeds' department..

the following XML error will cause all further (valid) subscription attempts to fail, requiring a Tb restart.

Error: prefix not bound to a namespace
Source file: http://planetdma.blogspot.com/atom.xml
Line: 154, Column: 1
Source code:
<o:p> ^

Revision history for this message
In , Kazssym (kazssym) wrote :

This also applies to 2.0 Beta 2 (on Windows).

エラー: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIRDFService.GetLiteral]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: chrome://messenger-newsblog/content/Feed.js :: anonymous :: line 287" data: no]
ソースファイル: chrome://messenger-newsblog/content/Feed.js
行: 287

Google Groups Atom feeds do not work, while RSS feeds do.

Revision history for this message
In , Tuukka Tolvanen (sp3000) wrote :

Created attachment 253892
patch1

patch1: in parseAsAtomIETF, don't set a null aFeed.link; fixes subscribing to e.g. http://groups.google.com/group/mozilla.dev.planning/feed/atom_v1_0_msgs.xml

Revision history for this message
In , Tuukka Tolvanen (sp3000) wrote :

Created attachment 253899
patch2

...on second thought, patch1 is odd because the same courtesy is not paid to other nonrequired things in parseAsAtomIETF as they aren't susceptible to death by rdf; this instead nullchecks right before talking to rdf, i.e. Feed.item = null shall mean not setting one.

Revision history for this message
In , Mscott-mozilla (mscott-mozilla) wrote :

Comment on attachment 253899
patch2

thanks tuukka!

Revision history for this message
Guillaume D. (guillaumed) wrote :

Binary package hint: mozilla-thunderbird

This may be a partial duplicate of #55894.

Symptoms are identical to what is describe here: http://ubuntuforums.org/showthread.php?t=243994

guillaume@glop ~> dpkg -s mozilla-thunderbird
Package: mozilla-thunderbird
Status: install ok installed
Priority: optional
Section: mail
Installed-Size: 29596
Maintainer: Ubuntu Core Developers <email address hidden>
Architecture: i386
Version: 1.5.0.9-0ubuntu0.6.10

Revision history for this message
Lionel Porcheron (lionel.porcheron) wrote :

After a quick discussion with Guillaume, it appears that some feeds can be subscribed without problem and some are stuck on "Verifyng RSS feed".

Guillaume will try to locate the problem.

Changed in mozilla-thunderbird:
status: Unconfirmed → Needs Info
Revision history for this message
Dean Sas (dsas) wrote :

Are the feeds valid? Have you got example URLs?

Revision history for this message
Guillaume D. (guillaumed) wrote :

The feeds were valid, and it was an upstream bug.

As of now, it is not integrated on any Thunderbird release as it is fixed only on Mozilla's trunk, but the patch is trivial, so you may want to apply it:
<http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&file=Feed.js&branch=&root=/cvsroot&subdir=mozilla/mail/extensions/newsblog/content&command=DIFF_FRAMESET&rev1=1.46&rev2=1.47>

Thanks for your time.

Changed in thunderbird:
status: Unknown → Fix Released
Changed in mozilla-thunderbird:
importance: Undecided → Medium
Revision history for this message
Hilario J. Montoliu (hjmf) (hmontoliu) wrote :

Assigned to Mozilla Team

Changed in mozilla-thunderbird:
assignee: nobody → mozilla-bugs
Revision history for this message
Brian Derr (bderrly) wrote :

According to bugzilla this was fixed in version 1.8.1.2, feisty has 1.5.0.12, but gutsy has 2.0.0.6 as of this update. Since this has been fixed upstream and in gutsy I am going to mark this as closed.

Changed in thunderbird:
status: Incomplete → Fix Released
Revision history for this message
John Vivirito (gnomefreak) wrote :

1.8.1.2 is not the version of thunderbird its the version of gecko, This is however fixed in both i believe thunderbird 1.5.0.12 is using gecko 1.8.1.4

Changed in thunderbird:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.