Server-side script editors


#1

Hi,

There is a line number limit in server side scripting? (DF 2.1) After the the 99th line of command (comments dont count), an alert icon pops up.

If the line is commented, the error go to the next line, add any command before and the error go to that line.
The editor shows a alert icon “Too many errors.” and nothing after 100th line is checked for errors or at least they are not pointed.

To reproduce, create a custom script service(or use scripts tab) and insert 100th line of any command in the editor, like:

foo = “bar”;


#2

We’re looking into it. Might be related to the programming language mode not being properly set in the code editor.


#3

Hi @benbusse,

I use only v8js, if I can provide more info, let me know.

Thanks.