abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James M Snell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ABDERA-2) Abdera goes into an infinite loop when feed.getLink("edit"); is called
Date Mon, 21 Aug 2006 20:49:15 GMT
    [ http://issues.apache.org/jira/browse/ABDERA-2?page=comments#action_12429526 ] 
James M Snell commented on ABDERA-2:

The loop is caused in certain circumstances when individual entry items are added multiple
times to a feed before the link is added.  When an entry is added twice to an entry, it becomes
it's own previous sibling.  When adding a link, it looks for the entry and attempts to add
the link before the entry.  The link actually gets inserted between the two instances of the
same entry, causing a loop.  link->getNextSibling()->entry->getNextSibling()->link->getNextSibling()->entry.......
 The solution is to make sure you're not adding items to the feed/entry/etc more than once.

> Abdera goes into an infinite loop when feed.getLink("edit"); is called
> ----------------------------------------------------------------------
>                 Key: ABDERA-2
>                 URL: http://issues.apache.org/jira/browse/ABDERA-2
>             Project: Abdera
>          Issue Type: Bug
>         Environment: Apache Tomcat 5.5, IBM Java 5.0 JRE
>            Reporter: Shane O Sullivan
>         Assigned To: James M Snell
> when I call the Feed method getLink("edit") method, it goes into an infinite loop, taking
up 100% of the CPU

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message