Hi everyone,
I'm currently testing a project migration from Ignition 8.1 to 8.3 and I've encountered a strange behavior regarding user management scripts.
I have a script transform on a binding (bound to a userName property). The script calls system.user.getUser, but in version 8.3, it returns no result (None), whereas the exact same logic worked perfectly in 8.1.
The weird part:
Thank for the help.
Thank you for the help, it works.
I'm not sure why it worked in 8.1 and not 8.3, but my guess would be that in 8.1 it uses your default user source unless your specify otherwise, and in 8.3 you need to add your user source even if its your default. I'm sure there is some technical reason they made this change or maybe its just a bug they missed. Maybe someone from IA will stop by and give us the answer.
This is a known bug in 8.3. There's a fix currently going through QA.
Passing an empty string should result in the project's default user source being used.
Understand, thank you both for the support and have a nice day.
The fix has been merged and should be available in the next nightly.