Authentication issue in Perspective

Hello Ignition’s ninjas and black belts :slight_smile:

With Ignition 8.3.

I’m having a strange issue and I do not know how to manage it. Probably a bug in Perspective.

The users authenticate in an application against a AD Hybrid uyser source. It’s working for most of them.

In the application, I’m showing the username in the top left. The label is showing the username with an expression. That part is working well.

The problem is with a script that need the username to build a query.

The script crash at this line with this error in the logger:
unsupported operand type(s) for +: ‘NoneType’ and ‘str’

And it’s only for some users. Seems the problem occur only with users that have no roles defined.

Any ideas?

If I had to guess its the next line down since the error mentions “+”. Any chance those users have a null value for either their first or last name?


Just note that when you have an error in a multi-line variable assignment (or function call, etc), it is going to report the starting line number for that block of code. Even if the error is further down in the block of code. So take a look at the next line down (first name and last name).

(Edit: Looks like @bpreston beat me to it)


Where can I download 8.3 from? :open_mouth: I think IA would want to know as well! :grin:

1 Like

Ignition 8.3 must have a feature to travel back in time :o

Wouldn’t surprise me!! :grinning_face_with_smiling_eyes:

1 Like