Model Caching Problem?

5 views
Skip to first unread message

caleb

unread,
Mar 15, 2011, 5:45:07 AM3/15/11
to restfulx-framework
Hi Dima,

I am having trouble populating dependencies (just FYI,
fetchDependencies is set to true).

Long story short:
I have 3 models, FolderGroup, Folder, and Note

FolderGroups have many Folders
Folders have many notes

The problem is:
When I do Rx.models.index(FolderGroup), every single FolderGroup
within the resultant ModelsCollection has a null "folders"
property.... unless I call Rx.models.index(Folder), then it works as
expected.

Do you have any insight as to why this would be happening? What is
the best way to resolve it?

Thank you

Larry Erickson

unread,
Mar 18, 2011, 1:12:10 PM3/18/11
to restfulx-framework
What service provider are you using. I saw this behavior when I
tried using amf a while back, but when using fxml or json I do not get
that problem.

Larry

Caleb Adam Haye

unread,
Mar 18, 2011, 2:21:49 PM3/18/11
to restfulx-...@googlegroups.com, Larry Erickson
It is an AIR app using a SQL Lite DB.
--
Caleb Adam Haye | Fire, Inc. | ca...@fire.coop
www.fire.coop. (707) 701-FIRE f. (888) FAX-7933


--
You received this message because you are subscribed to the Google Groups "restfulx-framework" group.
To post to this group, send email to restfulx-...@googlegroups.com.
To unsubscribe from this group, send email to restfulx-framew...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/restfulx-framework?hl=en.


Reply all
Reply to author
Forward
0 new messages