Flex Data Services , Datamanagement


hi,

i created php classes existing mysql database.

 

i have modified update method receiving additional parameter.

 

datamanagement disabled function.

 

its working how should receive result error, please enlighten me going wrong?

mx.data::conflict {   cause = mx.data.messages::datamessage {     body = [["galleryname"],     {       gallery_id = 54       galleryicon = "img00003.jpg"       galleryname = "artists"       policy = "public"     },     valueobjects::gallery {       gallery_id = 54       galleryicon = "img00003.jpg"       galleryname = "renamed"       policy = "public"     }]     clientid = null     correlationid = ""     destination = "galleryrpcdatamanager"     headers = {       newreferencedids = null       prevreferencedids = null     }     identity = {       gallery_id = 54     }     messageid = "310d7d01-d457-1a85-4eda-c1c62b913b47"     operation = 3     timestamp = 0     timetolive = 0   }   causedbylocalcommit = false   clientobject = valueobjects::gallery {     gallery_id = 54     galleryicon = "img00003.jpg"     galleryname = "renamed"     policy = "public"   }   destination = "galleryrpcdatamanager"   errorid = 0   message = "local item has changes properties conflict remote change."   name = "error"   originalobject = {     gallery_id = 54     galleryicon = "img00003.jpg"     galleryname = "artists"     policy = "public"   }   propertynames = ["galleryname"]   resolved = false   serverobject = gallery_id=54   serverobjectdeleted = false   serverobjectreferencedids = {   } }      @ mx.data::datastore/http://www.adobe.com/2006/flex/mx/internal::processconflict()[c:\depot\dataservices\branches\lcds_modeler101\frameworks\projects\data\src\mx\data\datastore.as:3428]      @ mx.data::concretedataservice/http://www.adobe.com/2006/flex/mx/internal::updatecache()[c:\depot\dataservices\branches\lcds_modeler101\frameworks\projects\data\src\mx\data\concretedataservice.as:5468]      @ mx.data::concretedataservice/http://www.adobe.com/2006/flex/mx/internal::updatecachewithid()[c:\depot\dataservices\branches\lcds_modeler101\frameworks\projects\data\src\mx\data\concretedataservice.as:5316]      @ mx.data::datalist/http://www.adobe.com/2006/flex/mx/internal::processsequence()[c:\depot\dataservices\branches\lcds_modeler101\frameworks\projects\data\src\mx\data\datalist.as:2582]      @ mx.data::datalist/http://www.adobe.com/2006/flex/mx/internal::processsequenceresult()[c:\depot\dataservices\branches\lcds_modeler101\frameworks\projects\data\src\mx\data\datalist.as:2880]      @ mx.data::datalistrequestresponder/result()[c:\depot\dataservices\branches\lcds_modeler101\frameworks\projects\data\src\mx\data\datalistrequestresponder.as:103]      @ mx.data::rpcdataserviceadapter/sendresultevent()[c:\depot\dataservices\branches\lcds_modeler101\frameworks\projects\data\src\mx\data\rpcdataserviceadapter.as:1508]      @ mx.data::rpcdataserviceadapter/executequeryresult()[c:\depot\dataservices\branches\lcds_modeler101\frameworks\projects\data\src\mx\data\rpcdataserviceadapter.as:1444]      @ mx.collections::itemresponder/result()[e:\dev\4.0.0\frameworks\projects\framework\src\mx\collections\itemresponder.as:129]      @ mx.rpc::asynctoken/http://www.adobe.com/2006/flex/mx/internal::applyresult()[e:\dev\4.0.0\frameworks\projects\rpc\src\mx\rpc\asynctoken.as:239]      @ mx.rpc.events::resultevent/http://www.adobe.com/2006/flex/mx/internal::calltokenresponders()[e:\dev\4.0.0\frameworks\projects\rpc\src\mx\rpc\events\resultevent.as:207]      @ mx.rpc::abstractoperation/http://www.adobe.com/2006/flex/mx/internal::dispatchrpcevent()[e:\dev\4.0.0\frameworks\projects\rpc\src\mx\rpc\abstractoperation.as:244]      @ mx.rpc::abstractinvoker/http://www.adobe.com/2006/flex/mx/internal::resulthandler()[e:\dev\4.0.0\frameworks\projects\rpc\src\mx\rpc\abstractinvoker.as:318]      @ mx.rpc::responder/result()[e:\dev\4.0.0\frameworks\projects\rpc\src\mx\rpc\responder.as:56]      @ mx.rpc::asyncrequest/acknowledge()[e:\dev\4.0.0\frameworks\projects\rpc\src\mx\rpc\asyncrequest.as:84]      @ netconnectionmessageresponder/resulthandler()[e:\dev\4.0.0\frameworks\projects\rpc\src\mx\messaging\channels\netconnectionchannel.as:547]      @ mx.messaging::messageresponder/result()[e:\dev\4.0.0\frameworks\projects\rpc\src\mx\messaging\messageresponder.as:235] 

 

i have noticed , when remove second parameter again , enable data management conflict gone.

 

strange

i have manually implemented service using zendamf well.

and guess , ist working orm.



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support