Hey guys,
I am using a scripting data source to prototype code for adding data points and I am encountering an annoying/challenging behaviour in the editor. It appears that when the script is loaded, all code after the "<" in the "for" condition is being chopped off.
For example, if I have the script:
I can create, save, and validate the script without issues. However, if I click to another data source and then return, all the code after the "<" is gone:
The same behaviour occurs even if the for loop is commented:
This behavior occurs both in Chrome and Firefox. I have also restarted the browser and server without any success.
If you need any further details, just let me know.
Thanks
Ian
Edit: I am not seeing any errors in the logs files or dev console.
Edit: where the "<" is in the code does not matter. If I add the character anywhere in the code, it gets chopped at that point:
PS: I don't see the log file being produced (or written) to if I have a log statement in the code:
The log file is not in the directory indicated. Perhaps there is a difference in logging if I validate/run the script versus it running automatically via the cron or context point.