ZF-10054: Extension Slash always writes slash:comments to the Feed

Issue Type: Bug Created: 2010-06-25T06:31:12.000+0000 Last Updated: 2010-10-10T16:07:14.000+0000 Status: Resolved Fix version(s): - 1.11.1 (30/Nov/10)

Reporter: Michael Reschreiter (michael_reschreiter) Assignee: Pádraic Brady (padraic) Tags: - Zend_Feed_Writer

Related issues: Attachments:


There is a difference between Zend_Feed_Writer_Extension_Slash_Renderer_Entry and the other Extensions

in line 84 of Zend_Feed_Writer_Extension_Slash_Renderer_Entry $count is set to 0 if the result of $this->getDataContainer()->getCommentCount() is false. This is the reason why the tag is always written. In the methods of the other Extensions there will be returned if the result of the related get-Method is false and the tags are not written.

It is not possible to disable the loading of the coreExtensions because of the included get/set methods in the Zend_Feed_Writer Classes, so i cannot avoid the output of this tag.

is there a special reason in this case why there will be not returned or is it easy possible to get this changed in the next releases?


Posted by Pádraic Brady (padraic) on 2010-10-10T16:07:13.000+0000

Fixed in r23077

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.