1 Reply Latest reply on Nov 19, 2011 12:09 PM by neukoelnervonddorf

    Can't find ManagedQuery or ManagedOperation

    ljyanesm

      I'm having troubles using Adobe Data/Services on PHP.

       

      The following error appears when I put a component that has a datagrid with a binded Data/Service.

       

      ArgumentError: Can't find ManagedQuery or ManagedOperation named: getAllPago_suplidos
          at mx.data::RPCDataServiceAdapter/executeQuery()[C:\depot\DataServices\branches\lcds_modeler 101\frameworks\projects\data\src\mx\data\RPCDataServiceAdapter.as:325]
          at mx.data::RPCDataServiceAdapter/processDataMessage()[C:\depot\DataServices\branches\lcds_m odeler101\frameworks\projects\data\src\mx\data\RPCDataServiceAdapter.as:920]
          at RPCDataServiceRequest/invoke()[C:\depot\DataServices\branches\lcds_modeler101\frameworks\ projects\data\src\mx\data\RPCDataServiceAdapter.as:1668]
          at mx.data::DataStore/http://www.adobe.com/2006/flex/mx/internal::invoke()[C:\depot\DataServices\branches\lcds_m odeler101\frameworks\projects\data\src\mx\data\DataStore.as:3343]
          at Function/<anonymous>()[C:\depot\DataServices\branches\lcds_modeler101\frameworks\projects \data\src\mx\data\DataStore.as:1579]
          at mx.data::DataStore/http://www.adobe.com/2006/flex/mx/internal::fill()[C:\depot\DataServices\branches\lcds_mod eler101\frameworks\projects\data\src\mx\data\DataStore.as:1597]
          at mx.data::ConcreteDataService/internalFill()[C:\depot\DataServices\branches\lcds_modeler10 1\frameworks\projects\data\src\mx\data\ConcreteDataService.as:6936]
          at Function/<anonymous>()[C:\depot\DataServices\branches\lcds_modeler101\frameworks\projects \data\src\mx\data\ConcreteDataService.as:1221]
          at mx.data::ConcreteDataService/fill()[C:\depot\DataServices\branches\lcds_modeler101\framew orks\projects\data\src\mx\data\ConcreteDataService.as:1240]
          at mx.data::ConcreteDataService/executeQuery()[C:\depot\DataServices\branches\lcds_modeler10 1\frameworks\projects\data\src\mx\data\ConcreteDataService.as:1254]
          at mx.data::DataManager/executeQuery()[C:\depot\DataServices\branches\lcds_modeler101\framew orks\projects\data\src\mx\data\DataManager.as:1355]
          at Function/http://adobe.com/AS3/2006/builtin::apply()
          at mx.data::ManagedOperation/queryProxy()[C:\depot\DataServices\branches\lcds_modeler101\fra meworks\projects\data\src\mx\data\ManagedOperation.as:524]
          at mx.rpc.remoting::Operation/send()[C:\autobuild\3.5.0\frameworks\projects\rpc\src\mx\rpc\r emoting\Operation.as:177]
          at _Super_PagosuplidosService1/getAllPago_suplidos()[C:\Documents and Settings\Luis\Adobe Flash Builder 4\test1\src\services\pagosuplidosservice1\_Super_PagosuplidosService1.as:202]
          at ServiceVB/dataGrid_creationCompleteHandler()[C:\Documents and Settings\Luis\Adobe Flash Builder 4\test1\src\ServiceVB.mxml:17]
          at ServiceVB/__dataGrid_creationComplete()[C:\Documents and Settings\Luis\Adobe Flash Builder 4\test1\src\ServiceVB.mxml:22]
          at flash.events::EventDispatcher/dispatchEventFunction()
          at flash.events::EventDispatcher/dispatchEvent()
          at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.5.0\frameworks\projects\framework\src \mx\core\UIComponent.as:9440]
          at mx.core::UIComponent/set initialized()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\UIComponent.as :1168]
          at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.5.0\frameworks\projects \framework\src\mx\managers\LayoutManager.as:718]
          at Function/http://adobe.com/AS3/2006/builtin::apply()
          at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.5.0\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8744]
          at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.5.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8684]

       


      Any solutions known?

        • 1. Re: Can't find ManagedQuery or ManagedOperation
          neukoelnervonddorf Level 1

          When you right click on any of the service methods in flash builder dataservices panel you'll find an option that is called "Datenverwaltung aktivieren" in german and should be something like "activate data management" in english. If you turn that of you wont run into that issue.

          Of course, this is not a solution if you're using those data management function (undo,redo...).