Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants