[SabreAMF] Error in AMF0 Serializer

Jim Mischel jim at mischel.com
Sat Nov 18 18:58:31 EST 2006


There appears to be an error in AMF0/Serializer.php.  This is from the 
Subversion repository

At Line 210 in the function writeTypedObject, a line reads:

    } else $classname = $this->getRemoteClass(get_class($data));

I was getting an error about an undefined method 
SabreAMF_AMF0_Serializer::getRemoteClass().

Changing that to 'getRemoteClassName' fixed the error:

    } else $classname = $this->getRemoteClassName(get_class($data));

Jim






More information about the sabreamf mailing list