Skip navigation
Currently Being Moderated

Error when caching data locally using LiveCycle Data Services

Mar 29, 2013 2:57 AM

Tags: #data #cache

Hi all,

I developing a mobile application support working offline. I using cache feature of LiveCycle Data Services.

This is my datasevice ( it has associate to others dataservice ) and autoSaveCache = true and cacheID = "xxx":


<destination id="expenseData">






                              <identity property="id" />

              <one-to-many property="expenseItems" destination="expense-item" />





when I run application in the first, it run nomarly but when I close and run it again , i get the errror message as below :

Error: Object instance needs an mx_internal::referencedIds property inorder to be managed: Object

          at$/getReferencedIds()[C:\depot\DataServices\bran ches\milestone\adepds46_rc\frameworks\projects\data\src\mx\data\utils\]

          at[C:\depot\DataServices\branch es\milestone\adepds46_rc\frameworks\projects\data\src\mx\data\DataStor]



- The error message not showed when I remove line <one-to-many property="expenseItems" destination="expense-item" /> .

Please help me if you know about this problem.

Thanks so much.


More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points