Bug 63224

Summary: knewsticker doesn't update news
Product: [Unmaintained] knewsticker Reporter: Ralf Hildebrandt <ralf.hildebrandt>
Component: generalAssignee: Frerich Raabe <raabe>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ralf Hildebrandt 2003-08-25 10:47:55 UTC
Version:            (using KDE KDE 3.1.3)
Installed from:    Debian testing/unstable Packages
OS:          Linux

I really verified this :)
If I start KDE, then I get fresh, new news.
If I leave KDE open after that, knewsticker's contents are never updated, although I use a "News query interval" of 31 minutes. If I close knewsticker just to open it a few seconds later, I get new news that I've never seen before.

I see the same behaviour on multiple machine, both with and without use of a proxy server.
Comment 1 Frerich Raabe 2003-09-01 14:18:08 UTC
Subject: kdenetwork/knewsticker/common

CVS commit by raabe: 

- Don't break when a newssource gets updated, but the new RSS file is smaller
  than the previous one; the internal buffer got expanded, but never shrinked,
  so after the reset() call the new data was inserted in the first part of the
  buffer, but because it did not shrink there was still garbled markup from
  the previous version, which breaks the XML parser. Patch based on very nice
  problem analysis by Mary Cushion  (mary at eiger dot demon dot co dot uk).
CCMAIL:49114-done@bugs.kde.org,52642-done@bugs.kde.org,63224-done@bugs.kde.org


  M +12 -7     newsengine.cpp   1.97
  M +2 -2      newsengine.h   1.60
  M +20 -6     xmlnewsaccess.cpp   1.33
  M +2 -3      xmlnewsaccess.h   1.18