Crazy Flex RemoteObject Bug
Categories:
Bug
I was developing a coldfusion/flex app today and i ran accross the most weirdest bug. The following code is pseudo code :
say if you have a remote object
<mx: remoteobjec id=something destination=ColdFusion >
<mx : method name=test result=result(event)>
<mx : arguments>
<arg1>inputtext.text</arg1>
<arg2>inputArrayCollection</arg2>
<arguments>
<method>
<remoteobjec>
This will work and send arg1 to the server but arg2 which is an array collection will be blank ,desptite the collection having over a 100 records
however if i send the same remote object like this , something.test(inputtext.text,inputArrayCollection)
it will work perfectly fine
werid ?
say if you have a remote object
<mx: remoteobjec id=something destination=ColdFusion >
<mx : method name=test result=result(event)>
<mx : arguments>
<arg1>inputtext.text</arg1>
<arg2>inputArrayCollection</arg2>
<arguments>
<method>
<remoteobjec>
This will work and send arg1 to the server but arg2 which is an array collection will be blank ,desptite the collection having over a 100 records
however if i send the same remote object like this , something.test(inputtext.text,inputArrayCollection)
it will work perfectly fine
werid ?
Posted by Faisal at 2:59 PM | Link | 3 comments