Recalculate Hash Problem

Hello
We have a problem with the automatic recalculation for the hash in developer.
after login on a different database (hash is wrong).
We get the Warning Somebady messed with the security data…
and after that the dialog: Developer:Hash recalculated, login again.
and in the console we have an error:

TypeError: Cannot set property "hash" of  to "REfWbTHIcdsk0Jb3WgSBGw==" (C:\servoy\workspace\mirus\svy_security\globals.js#525)
 > 	at C:\servoy\workspace\mirus\svy_security\globals.js:525 (svy_sec_saveHash)
	at C:\servoy\workspace\mirus\svy_sec_authenticate\globals.js:45 (svy_sec_recalculateHash)

The problem is that the foundset is empty at that point. That comes from the owner_id that is allways the same.

Thanks

Jonpaul

You are right, the owner_id is set to a hardcoded uuid by default.
This looks like debug code that hasn’t been cleaned up.

To fix this, change the line:

var owner_id = 'cf0df836-ddf4-4ecd-8b8e-b602d4f8303c';

in the globals.js of svy_nav_globals to:

var owner_id = null;

This is fixed for future releases