Hi Harbs,

I just did quick look into RemoteObject class and I see that there is JS
library injected for AMF. If this is an outer script - can it be influenced
by renaming?

Thanks,
Piotr

On Fri, Sep 15, 2017, 13:59 Harbs <harbs.li...@gmail.com> wrote:

> You probably have minification renaming problems.
>
> I have not tried RemoteObject, so it’s possible there are problems there,
> but...
>
> Check if you have untyped objects and/or object literals.
>
> For untyped objects, you should use myObj[“myProp”] rather than
> myObj.myProp.
>
> For object literals you need to quote the object keys:
>
> var myObj = {
>         “name”:”Foo”,
>         “age”:5
> }
> rather than:
>
> var myObj = {
>         name:”Foo”,
>         age:5
> }
>
>
> HTH,
> Harbs
>
> > On Sep 15, 2017, at 11:28 AM, doug777 <doug777...@gmail.com> wrote:
> >
> > In the Firefox web console I see this :
> >
> > destination fault handler Object { code: -1004, message: "Invalid
> response
> > type.", detail: "Invalid XMLHttpRequest response sta…", data: null }
> > Language.js:238:7
> >
> > Doug
> >
> >
> >
> > --
> > Sent from: http://apache-flex-users.2333346.n4.nabble.com/
>
>

Reply via email to