Hi Guys,

Many Thanks for your answers. I figure out what has happened. Following
line causes an issue:


_strand.getBeadByType(org.apache.royale.jewel.beads.models.FormItemModel) as
org.apache.royale.jewel.beads.models.FormItemModel;



When I change that to:


_strand.getBeadByType(FormItemModel) as FormItemModel;



Everything has started to work. Is it compiler's issue ? It sounds to that
it should work.

Thanks,
Piotr

czw., 8 sie 2019 o 14:05 Piotr Zarzycki <piotrzarzyck...@gmail.com>
napisał(a):

> Hi Harbs,
>
> If I build my code with: -js-dynamic-access-unknown-members=false I'm
> getting in that line following code [1] - look into place around: a.
> parentNode&&a.parentNode.royale_wrapper.
>
> Having -js-dynamic-access-unknown-members=false - making an application
> work.
>
> By unminified do you mean to provide debug version of code ?
>
> [1] https://paste.apache.org/rnmxg
>
> Thanks,
> Piotr
>
> czw., 8 sie 2019 o 12:03 Harbs <harbs.li...@gmail.com> napisał(a):
>
>> N('org.apache.royale.events.getTargetWrapper',tP.If)
>>
>> tP.If is an alias to the package level function getTargetWrapper. My
>> guess is that package level functions have an issue.
>>
>> Presumable, tP is org.apache.royale.events, which only makes sense if
>> org.apache.royale.events would have been a class.
>>
>> What’s the un-minified output?
>>
>> > On Aug 8, 2019, at 12:20 PM, Piotr Zarzycki <piotrzarzyck...@gmail.com>
>> wrote:
>> >
>> > Hi Guys,
>> >
>> > Yesterday for some reason our application started to failing in release
>> > build. I have spend many hours to figure out where is the point of
>> breakage
>> > but I'm still not sure and what is the code in our app that it causes.
>> > Here is the minified line of code [1]. Exception is saying:
>> >
>> > "TypeError: Cannot set property 'If' of undefined"
>> >
>> > So there is a variable "tP." which is undefined. Anyone understand for
>> > example why there upper case "If" word?
>> >
>> > I'm using build [2]
>> >
>> > [1] https://paste.apache.org/l7iez
>> > [2]
>> >
>> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/3355/
>> >
>> > Thanks,
>> > --
>> >
>> > Piotr Zarzycki
>> >
>> > Patreon: *https://www.patreon.com/piotrzarzycki
>> > <https://www.patreon.com/piotrzarzycki>*
>>
>>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Reply via email to