security.getUserId(); returns string in 3.5.5??

From the console

%  security.getUserId() == '3'
% true

This leads to lots of errors of type

JSDataSet:exception:com.servoy.j2db.dataprocessing.DataException: ERROR: operator does not exist: integer = character varying

When using this variables in SQL queries…

I can fix by replacing with

%  parseInt(security.getUserId())

Occurs in both Mac and Windows client and Mac developer.
Have anybody else seen this problem?

security.getUserId() is also depricated because it is replaced with getUserUID(). And that is a UID that can be anything because the users id can be a uuid or an int.

So yes if you use that in your own queries on columns that are integers you have to make sure that it is an int.