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

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

@ximus

Description

@ximus

[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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions