Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypedArray itemType property not set on Rx.amf call #48

Open
ximus opened this issue Nov 15, 2010 · 1 comment
Open

TypedArray itemType property not set on Rx.amf call #48

ximus opened this issue Nov 15, 2010 · 1 comment
Labels

Comments

@ximus
Copy link

ximus commented Nov 15, 2010

[This the short rewrite of a ticket I wrote that got lost in Github's recent DB issue. Sorry I don't have time to regenerate the stacktrace and paste snippets.]

I make an Rx.amf call to the server and the server sends me a list of records back in AMF format. The AMF is well unmarchalled into a TypedArray but once AMFSercializer tries to get the cached ModelCollection from Rx.models.cache, it gets a null reference back because the neither the TypedArray's itemType property or the defaultType function arguments are set, thus it queries the cache with a null fqn.

Somewhere along the flow, wether on the server side or client side, the itemType property is not set. I think it should be on the server where the object originates.

@dima
Copy link
Owner

dima commented Dec 13, 2010

Thanks, I'll double check this issue for 1.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants