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

Todo el mundo puede leer el foro de soporte de DecSoft para aprender del mismo, sin embargo, sólo los clientes de DecSoft pueden abrir nuevos hilos. Compre una o más licencias de productos de DecSoft y obtendrá este y otros beneficios.

Este sitio utiliza "cookies" útiles para almacenar sus preferencias.

Bien. Ocultar esta nota. Obtener más información.