Display error for entries with newline/CR

An RSS/Atom newsreader with features comparable to commercial newsreaders.
Post Reply
floetenschlumpf
Harmless
Posts: 2
Joined: Tue Jul 23, 2013 8:57 am

Display error for entries with newline/CR

Post by floetenschlumpf »

Hi,

found this display bug in Vienna 3.0.0 Beta 13 on Mac OSX 10.8.4 (german system).
The RSS entry contains a newline / carriage return in the text (sorry, I cannot provide a URL, its a from a private network).

I used Beta 11 before (if I remember correctly) and it was fine previously. I hope the screenshot is helpful:

Image
barijaona
Vienna Team
Posts: 661
Joined: Sat Nov 12, 2011 11:10 am
Contact:

Re: Display error for entries with newline/CR

Post by barijaona »

Can you identify which field having a newline/CR causes a problem ?

Either have a look at the XML source (menu "Folder->Show XML Source") or enable/disable fields in menu "View->Columns" until you identify the culprit.
Thanks in advance.
I contribute to Vienna RSS as a developer.
Please, don't forget those tips for writing a good bug report
kwik
Harmless
Posts: 2
Joined: Thu Jul 25, 2013 12:06 am

Re: Display error for entries with newline/CR

Post by kwik »

Here is my "blog" just to demo the display bug, subscribe to reproduce:
http://rssfeedtesting.blogspot.com/feed ... ts/default
Image
Problematic comments are (hopefully) easy to spot.
floetenschlumpf
Harmless
Posts: 2
Joined: Tue Jul 23, 2013 8:57 am

Re: Display error for entries with newline/CR

Post by floetenschlumpf »

Its the "subject" (german "Betreff") column, which corresponds to the XML "title" element
kwik
Harmless
Posts: 2
Joined: Thu Jul 25, 2013 12:06 am

Re: Display error for entries with newline/CR

Post by kwik »

Echelon9
Latté
Posts: 74
Joined: Sun May 19, 2013 12:45 am

Re: Display error for entries with newline/CR

Post by Echelon9 »

It's a slightly different bug, although pretty closely related.

Essentially it wasn't picked up in the earlier bugs as this one only occurs under narrow circumstances:
  • Atom feed
  • Title element has a type that is not "HTML" or "XHTML"
  • Linefeed characters exist in the text of the title
I've created an Issue for it on the GItHub issue tracker: https://github.com/ViennaRSS/vienna-rss/issues/204
A resolution patch has already been committed on my working branch, and subject to review will be in the next Beta release.

Thanks for generating the reproducible Blogspot feed. That made tracking down the bug a lot easier.
barijaona
Vienna Team
Posts: 661
Joined: Sat Nov 12, 2011 11:10 am
Contact:

Re: Display error for entries with newline/CR

Post by barijaona »

Thanks to all of you.
I contribute to Vienna RSS as a developer.
Please, don't forget those tips for writing a good bug report
Post Reply