[Tickets #9188] off by one error in RSS feeds on portal page (number of articles to display)

bugs at horde.org bugs at horde.org
Thu Aug 19 11:30:42 UTC 2010


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/9188
------------------------------------------------------------------------------
  Ticket             | 9188
  Created By         | gavin.mccullagh at gcd.ie
  Summary            | off by one error in RSS feeds on portal page (number of
                     | articles to display)
  Queue              | IMP
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              | 1
  Owners             |
+New Attachment     | rss_limit_off_by_one.patch
------------------------------------------------------------------------------


gavin.mccullagh at gcd.ie (2010-08-19 07:30) wrote:

Originally noted in latest Kolab v2.2.4
   https://issues.kolab.org/issue4496
but issue appears to also exist in latest Horde.
    
http://git.horde.org/co.php/horde/lib/Block/feed.php?r=fabc7e43b5dc1d9e651f5a343eb49266e46a0b63

If you add an RSS feed to the Horde portal page and specify N articles  
to be displayed, you will get N+1 articles displayed.

Attached is a patch that fixes this issue.






More information about the bugs mailing list