3 Replies Latest reply on Jul 30, 2010 4:22 AM by Mogge 3000

    Can't find ManagedQuery or ManagedOperation

    Mogge 3000

      Hi,

       

      Today I've started having some annoying issues with the Data/Services functionality.

       

      I used the wizard to create a number of services directly from a db and it works perfect. It's really a tremendous time-saver! However, after working a couple of hours I all of a sudden get the runtime error below. I've checked and double checked the code and it should be ok. What's strange is that the error relates to a component and service I finished a couple of hours ago and haven't touched since then. I've been testing the app regularly and the specific component has always worked fine.

       

      What's even more strange is that while debugging _Super_ShippingratetypesService it just starts to work again, no code changed! And then 15 minutes later the error is back!

       

      Anyone clever enough to shed some light on this, it's driving me crazy...

       

      I'm using:

      FB 4.0.0 (Build 272416) plugin version (Zend Studio 7.2)

      FLEX SDK 4.1.0 (Build 16248)

      PHP 5.3

      MySQL 5.1.45 - community edition

      (Parsley 2.3M1)

       

       

       

      Main Thread (Suspended: ArgumentError: Can't find ManagedQuery or ManagedOperation named: getAllShipping_rate_types)

      mx.data::RPCDataServiceAdapter/executeQuery

      mx.data::RPCDataServiceAdapter/processDataMessage

      RPCDataServiceRequest/invoke

      mx.data::DataStore/http://www.adobe.com/2006/flex/mx/internal::invoke

      <anonymous>

      mx.data::DataStore/http://www.adobe.com/2006/flex/mx/internal::fill

      mx.data::ConcreteDataService/internalFill

      <anonymous>

      mx.data::ConcreteDataService/fill

      mx.data::ConcreteDataService/executeQuery

      mx.data::DataManager/executeQuery

      Function/http://adobe.com/AS3/2006/builtin::apply [no source]

      mx.data::ManagedOperation/queryProxy

      mx.rpc.remoting::Operation/send

      _Super_ShippingratetypesService/getAllShipping_rate_types

      model.presentation::ShippingRateTypesPM/getAll

      pages::ShippingRateTypesPage/__list_creationComplete

      flash.events::EventDispatcher/dispatchEventFunction [no source]

      flash.events::EventDispatcher/dispatchEvent [no source]

      mx.core::UIComponent/dispatchEvent

      mx.core::UIComponent/set initialized

      mx.managers::LayoutManager/validateClient

      mx.core::UIComponent/validateNow

      mx.managers::PopUpManagerImpl/centerPopUp

      mx.managers::PopUpManager$/centerPopUp

      wawe_calculator/focusPage

      wawe_calculator/openPage

      wawe_calculator/handleNavigation

      wawe_calculator/___wawe_calculator_MainNavigation1_customers

      flash.events::EventDispatcher/dispatchEventFunction [no source]

      flash.events::EventDispatcher/dispatchEvent [no source]

      mx.core::UIComponent/dispatchEvent

      navigation.components::MainNavigation/handleClick

      navigation.components::MainNavigation/___MainNavigation_Button1_click

       

      // Regards Morgan