EndJs vs EndJS - enforce case


Paul Ringer

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


DecSoft

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.



DecSoft

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!



Paul Ringer

Thank you for the very quick response!

I'll download and give it a try.

Cheers

Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.