Error when upgrading from 1.2.4 to 1.3.1

0 views
Skip to first unread message

acras

unread,
Apr 24, 2011, 9:15:01 PM4/24/11
to restfulx-framework
Hi,

When upgrading from 1.2.4 to 1.3.1 I get this error whenever I try
to index some model.

TypeError: Error #1034: Type Coercion failed: cannot convert
org.restfulx.utils::TypedArray@3f6d901 to Array.

What that could be?

Thanks

Dima Berastau

unread,
Apr 25, 2011, 7:35:21 PM4/25/11
to restfulx-...@googlegroups.com
Hi,

The signature for TypedArray changed and it no longer subclasses Array, so you should replace all instances where you were referring to your TypedArray data directly with this: yourTypedArray.source

That'll give you access to the underlying Array data structure. Please refer to: http://dima.github.com/restfulx_framework/org/restfulx/utils/TypedArray.html for details

Dima

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