0 Replies Latest reply: Dec 17, 2013 3:37 AM by Bartkiv RSS

    Duplicated items from DataService

    Bartkiv

      I have problem. From data service i receive rows with equal identity and it crashe runtime my application with this error:

       

      Error: Collection result contains a duplicate item: SalesPro.Duplicates:#:1 exists at both position: 0 and 1

                at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSequence()[C:\depot\DataServices\branches\milestone\adepds46_rc\frameworks\projects\data\src\mx\da ta\DataList.as:2697]

                at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSequenceResult()[C:\depot\DataServices\branches\milestone\adepds46_rc\frameworks\projects\data\src\mx\da ta\DataList.as:2948]

                at mx.data::DataListRequestResponder/result()[C:\depot\DataServices\branches\milestone\adepd s46_rc\frameworks\projects\data\src\mx\data\DataListRequestResponder.as:102]

                at mx.rpc::AsyncRequest/acknowledge()[/Users/justinmclean/Documents/ApacheFlex4.10/framework s/projects/rpc/src/mx/rpc/AsyncRequest.as:92]

                at NetConnectionMessageResponder/resultHandler()[/Users/justinmclean/Documents/ApacheFlex4.1 0/frameworks/projects/rpc/src/mx/messaging/channels/NetConnectionChannel.as:560]

                at mx.messaging::MessageResponder/result()[/Users/justinmclean/Documents/ApacheFlex4.10/fram eworks/projects/rpc/src/mx/messaging/MessageResponder.as:243]

       

      How can I catch this error?