Has anyone run into a strange issue using ZendAMF, sending an object which
contains a parameter of type ByteArray?  I'm doing so, and occasionally find
that somewhere between the Flash player and the PHP server the byteArray
parameter appears where a string value once was.  That is, if the object
contains parameters "name" (type String) and "bytes" (type ByteArray) and
the values of those parameters are "myName" and "[some hex characters]",
then they would (perhaps) show up in the PHP code with the hex characters in
the "name" parameter AND the "bytes" parameter.  (The "myName" value appears
to have been abducted by aliens in these cases).

My Zend version is somewhat old (1.5.something) which I realize could cause
issues.  I could understand if an error was generated or the server just
simply puked all over my request, but the request is accepted and
successfully processed, it just seems to have some kind of alzheimers or
something.  Other times (with no discernible pattern) these parameters
traverse the wire just fine.  In fact, sending multiple objects will
normally show some objects transferring fine, while at least one is
incorrect.

I've checked that the objects on both sides of the divide are constructed
the same way, even with parameters in the same order and everything.

I'll buy a Snicker's bar for anyone with some insight...

Thanks,
Jason

Reply via email to