#1 2017-10-19 13:10:58

psyclops
Member
Registered: 2017-10-19
Posts: 2

EndJs vs EndJS - enforce case

Is it possible to enforce case at build ? Ie. It should fail or log an error.

I was testing calling custom JS and I mistakingly used EndJs (lower case s) instead of EndJS.

No errors reported during build, but when launched there was a JS error. It looks like EndJs was ignored and I landed up with a mix of JS and Appbuilder language. I took me a while to figure out if was the incorrect EndJs causing the problem.

Thanks

Offline

#2 2017-10-19 13:24:17

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: EndJs vs EndJS - enforce case

Hello psyclops,

I think you find a curious bug or something. Let me to take a look and I will inform here about what I discover about.

Offline

#3 2017-10-19 14:41:11

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: EndJs vs EndJS - enforce case

Hello psyclps,

Please, upgrade your DecSoft's App Builder copy. The below is a quote from the product's history file:

2017.92 (10/19/2017)

* Allow the "EndJS" action to be writed in a non case sensitive way, like the other App Builder actions. Before this fix App Builder understand that, for example, "endjs" is not the action, but just another JS line (inside an "StartJS" action), which cause an unexpected result.

Thanks for the report psyclps!

Offline

#4 2017-10-19 15:01:32

psyclops
Member
Registered: 2017-10-19
Posts: 2

Re: EndJs vs EndJS - enforce case

Thank you for the very quick response!

I'll download and give it a try.

Cheers

Offline

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.