ZF-9723: Zend_Feed_Reader::detectType, Notice: Undefined variable: doc [...] on line 430

Issue Type: Bug Created: 2010-04-21T02:02:52.000+0000 Last Updated: 2010-04-29T04:31:50.000+0000 Status: Resolved Fix version(s): - 1.10.5 (26/May/10)

Reporter: Sebastian Knüll (sknuell) Assignee: Pádraic Brady (padraic) Tags: - Zend_Feed_Reader

Related issues: Attachments: - Reader.php.patch


Occurs when calling Zend_Feed_Reader::detectType(). Due to a variable name typo in Line 430: $status = $doc->loadXML($feed);

This should be: $status = $dom->loadXML($feed);


Posted by Sebastian Knüll (sknuell) on 2010-04-21T02:03:29.000+0000

Patch as described in report.

Posted by Pádraic Brady (padraic) on 2010-04-28T08:51:29.000+0000

Resolved in r22031. This is what you get for missing the odd test or two ;).

Posted by Sebastian Knüll (sknuell) on 2010-04-28T13:30:20.000+0000

I definitely like the test method name! :-)

Posted by Pádraic Brady (padraic) on 2010-04-29T04:31:46.000+0000

Well, it was a silly thing to forget a test for ;).

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.