[IGN-15749] Issue with system.user.getUser in Perspective Binding after migrating to 8.3

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:

  • In a Perspective Binding: It returns None.

  • In the Script Console: It works as expected and returns the user object.

Thank for the help.

Add your user source.

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.