Issues

ZF-7842: PHP Fatal error: Class 'Zend_XmlRpc_Value_Nil' not found

Issue Type: Bug Created: 2009-09-14T01:29:14.000+0000 Last Updated: 2009-09-16T23:10:23.000+0000 Status: Resolved Fix version(s): - 1.9.3 (22/Sep/09)

Reporter: Sasa Stamenkovic (umpirsky) Assignee: Satoru Yoshida (satoruyoshida) Tags: - Zend_XmlRpc_Server

Related issues: Attachments: - Value.php

Description

This is the error I get when passing null value to XML-RPC server:

PHP Fatal error: Class 'Zend_XmlRpc_Value_Nil' not found in ZendFramework/library/Zend/XmlRpc/Value.php on line 313

It occurs in 1.9.2 version, for some reason in Zend/XmlRpc/Value.php near 313 are added require onces for each type in switch-case, which was not the case in 1.9.1, but not before using Zend_XmlRpc_Value_Nil.

Same problem exists in method getXmlRpcValue() line #151, again switch-case with no require once statements.

Comments

Posted by Sasa Stamenkovic (umpirsky) on 2009-09-14T01:39:25.000+0000

Suggested patch to Zend/XmlRpc/Value.php (line # 313).

Posted by Satoru Yoshida (satoruyoshida) on 2009-09-15T06:17:50.000+0000

Solved in SVN r18118, 18119

Posted by Sasa Stamenkovic (umpirsky) on 2009-09-15T06:31:24.000+0000

Same problem exists in method getXmlRpcValue() line #165, again switch-case with no require once statements, I don't see that line is changed.

Error was:

Fatal error: Class 'Zend_XmlRpc_Value_Integer' not found in Zend/XmlRpc/Value.php on line 165

Posted by Satoru Yoshida (satoruyoshida) on 2009-09-15T15:31:06.000+0000

I can find the change to be related to your indication at SVN r17759 in 1.9 branch. I changed in only trunk now ( at SVN 18130).

I will be happy if you ensure with trunk's code. If it works fine, I will merge this changes into 1.9 branch.

Posted by Sasa Stamenkovic (umpirsky) on 2009-09-16T02:04:10.000+0000

Looks real nice. Didn't tried it out but thats just require ;)

Posted by Satoru Yoshida (satoruyoshida) on 2009-09-16T07:47:42.000+0000

Thank you ;-) Well, I merge it for next mini release at SVN r18139

Posted by Sasa Stamenkovic (umpirsky) on 2009-09-16T23:10:10.000+0000

Thanks :)

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts