You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Hugo Ferreira <hf...@gmail.com> on 2021/10/30 16:38:25 UTC

Ignore a specific warning from a specific project

Hi,

How to ignore this kind of warnings for a specific project:
ReferenceError: Error #1056: Cannot create property CollectionNoticeMonth11
on model.Building

I'm developing an Add-In that requires much less properties than the ones
that came from the server and I would like to just ignore this specific
warning.

Re: Ignore a specific warning from a specific project

Posted by Hugo Ferreira <hf...@gmail.com>.
Hi Greg,

Looking at the code, it only happens in debug mode.

In this case this RemoteService is shared between this Add-In (a very light
version) and the main UI application and consumes all properties.




Greg Dove <gr...@gmail.com> escreveu no dia sábado, 30/10/2021 à(s)
19:35:

> Hi Hugo,
>
> I added that trace to show the same as flash player when running in debug
> mode.
>
> Is it showing in release mode for js? Is that your concern?
> Or do you want to be able to switch it off for debug builds also?
>
> Please let me know. I will look into it today some time.
>
> I assume it was added to trace for flash player because it shows that the
> server is sending data that the client does not care about, which is
> usually something that could be optimized on the server side.
>
>
> Greg
>
> On Sun, 31 Oct 2021, 6:30 am Hugo Ferreira, <hf...@gmail.com>
> wrote:
>
> > I found that comes from AMFContext.as, here: trace('ReferenceError: Error
> > #1056: Cannot create property ' + prop + ' on ' + localTraits.qName);
> >
> >
> > Hugo Ferreira <hf...@gmail.com> escreveu no dia sábado,
> 30/10/2021
> > à(s) 17:38:
> >
> > > Hi,
> > >
> > > How to ignore this kind of warnings for a specific project:
> > > ReferenceError: Error #1056: Cannot create property
> > > CollectionNoticeMonth11 on model.Building
> > >
> > > I'm developing an Add-In that requires much less properties than the
> ones
> > > that came from the server and I would like to just ignore this specific
> > > warning.
> > >
> > >
> >
>

Re: Ignore a specific warning from a specific project

Posted by Greg Dove <gr...@gmail.com>.
Hi Hugo,

I added that trace to show the same as flash player when running in debug
mode.

Is it showing in release mode for js? Is that your concern?
Or do you want to be able to switch it off for debug builds also?

Please let me know. I will look into it today some time.

I assume it was added to trace for flash player because it shows that the
server is sending data that the client does not care about, which is
usually something that could be optimized on the server side.


Greg

On Sun, 31 Oct 2021, 6:30 am Hugo Ferreira, <hf...@gmail.com> wrote:

> I found that comes from AMFContext.as, here: trace('ReferenceError: Error
> #1056: Cannot create property ' + prop + ' on ' + localTraits.qName);
>
>
> Hugo Ferreira <hf...@gmail.com> escreveu no dia sábado, 30/10/2021
> à(s) 17:38:
>
> > Hi,
> >
> > How to ignore this kind of warnings for a specific project:
> > ReferenceError: Error #1056: Cannot create property
> > CollectionNoticeMonth11 on model.Building
> >
> > I'm developing an Add-In that requires much less properties than the ones
> > that came from the server and I would like to just ignore this specific
> > warning.
> >
> >
>

Re: Ignore a specific warning from a specific project

Posted by Hugo Ferreira <hf...@gmail.com>.
I found that comes from AMFContext.as, here: trace('ReferenceError: Error
#1056: Cannot create property ' + prop + ' on ' + localTraits.qName);


Hugo Ferreira <hf...@gmail.com> escreveu no dia sábado, 30/10/2021
à(s) 17:38:

> Hi,
>
> How to ignore this kind of warnings for a specific project:
> ReferenceError: Error #1056: Cannot create property
> CollectionNoticeMonth11 on model.Building
>
> I'm developing an Add-In that requires much less properties than the ones
> that came from the server and I would like to just ignore this specific
> warning.
>
>