Page 1 of 1

Bug in svySecurity.loginWithToken()

PostPosted: Mon Apr 04, 2022 5:38 pm
by nam.le
in svySecurity.loginWithToken() (version 1.5.0) at line 3274 the method svySecurity.getUser(tenant, user) is called with wrong order of arguments.
The same method is defined as .getUser(user, tenant). Therefore, the whole feature with token login does not work !!
Could you please take a look at this.
Nam

Re: Bug in svySecurity.loginWithToken()

PostPosted: Mon Apr 04, 2022 5:53 pm
by steve1376656734
This is a known issue and is logged with support (SVX-215). It is still present in V1.6.0 which is the version it was logged for.

Thanks
Steve

Re: Bug in svySecurity.loginWithToken()

PostPosted: Mon Apr 04, 2022 7:54 pm
by nam.le
Hi Steve,
thank you very much for the information.
Best regards
Nam

Re: Bug in svySecurity.loginWithToken()

PostPosted: Mon Apr 04, 2022 10:27 pm
by steve1376656734
No problem.

To get around the problem you can simply edit the line yourself to make it work and just make sure you don't update the package again until the issue is resolved.