Hi,
I'm using Doctrine with Zend Amf and Flash Builder for PHP. It's working just great!
Today I ran into an issue I don't understand. I'm nesting a VO within another VO. A Kvitto is within a Booking. This usually works as expected. I've done this in other parts of the app I'm building but now I'm getting this.
Main Thread (Suspended: ReferenceError: Error #1065: Variable Kvitto is not defined.) | ||
global/flash.utils::getDefinitionByName [no source] | ||
com.adobe.serializers.utility::TypeUtility$/getArrayType | ||
com.adobe.serializers.utility::TypeUtility$/assignProperty | ||
com.adobe.serializers.utility::TypeUtility$/convertToStrongType | ||
com.adobe.serializers.utility::TypeUtility$/convertListToStrongType | ||
com.adobe.serializers.utility::TypeUtility$/convertResultHandler | ||
mx.rpc.remoting::Operation/http://www.adobe.com/2006/flex/mx/internal::processResult | ||
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler | ||
mx.rpc::Responder/result | ||
mx.rpc::AsyncRequest/acknowledge | ||
NetConnectionMessageResponder/resultHandler | ||
mx.messaging::MessageResponder/result |
When I compare the results sent back from PHP with Charles it all looks ok. My VO's nested the way they should. But somehow the serializing doesn't work out...
Kvitto is the name of my Actionscript VO so I know that it is the VO thats not defined. The Kvitto VO is generated automatically using the Data/Services tab in Flash Builder. To be able to map the Booking with a nested Kvitto I've first created a service call for just a Kvitto that I used to create the VO. Then I did the same for Booking and setting Kvitto as the type for the nested VO.
I've also made sure to create a instance of the VO so that the class should be included.
Please, please help me with this. Any clues would be much appreciated.
//Morgan