Page 1 of 1

Log error for Sample solution logout

PostPosted: Sun Sep 03, 2023 10:40 pm
by rafig
Hi,
I'm getting this error in the server log every time someone logs out of a solution I built around the cloudSample solution that uses the svySecurity module.
The error is
Code: Select all
ERROR ServicesService -  trying to call a service api clearDefaultLoginCredentials for service $applicationService but the sevice ([object Object]) or the call was not found!

I cannot work out what it is referring to.
On logout the solution returns to the login form that is used by the solution.
It doesn't stop anything working, it just 'annoys' me that I keep getting these errors in the log...
Thanks
Rafi
(Latest Servoy, TiNG client, I think the last version of the cloudSample along with svySecurity[UX] latest...)

Re: Log error for Sample solution logout

PostPosted: Tue Sep 05, 2023 3:39 am
by sean
Rafi, can you provide the whole stack trace?

Re: Log error for Sample solution logout

PostPosted: Tue Sep 05, 2023 9:17 am
by emera
You were getting the error because clearDefaultLoginCredentials was not implemented in the Titanium client.
The fix was included in 2023.9.

Re: Log error for Sample solution logout

PostPosted: Tue Sep 05, 2023 10:37 am
by rafig
sean wrote:Rafi, can you provide the whole stack trace?

Hopefully it's fixed in 2023.9, but here is message
Code: Select all
9:34:40 ERROR ServicesService -  trying to call a service api clearDefaultLoginCredentials for service $applicationService but the sevice ([object Object]) or the call was not found! buildStackMessage@https://my-server-ip:8080/hernia/40567.1500d4af43c557ae.js:1:2344358
apply@https://my-server-ip:8080/hernia/40567.1500d4af43c557ae.js:1:2341145
@[native code]
error@[native code]
callServiceApi@https://my-server-ip:8080/hernia/40567.1500d4af43c557ae.js:1:2346220
handleNormalServiceApis@https://my-server-ip:8080/hernia/40567.1500d4af43c557ae.js:1:2345364
handleMessage@https://my-server-ip:8080/hernia/40567.1500d4af43c557ae.js:1:2370245
onInvoke@https://my-server-ip:8080/hernia/main.a708cd98bbb56626.js:1:249359
run@https://my-server-ip:8080/hernia/polyfills.ab697c9c90ea86d3.js:1:3532
next@https://my-server-ip:8080/hernia/main.a708cd98bbb56626.js:1:69481
_next@https://my-server-ip:8080/hernia/main.a708cd98bbb56626.js:1:69156
next@https://my-server-ip:8080/hernia/main.a708cd98bbb56626.js:1:68845
@https://my-server-ip:8080/hernia/main.a708cd98bbb56626.js:1:76902
next@https://my-server-ip:8080/hernia/main.a708cd98bbb56626.js:1:68845
@https://my-server-ip:8080/hernia/main.a708cd98bbb56626.js:1:66696
Y@https://my-server-ip:8080/hernia/main.a708cd98bbb56626.js:1:83915
next@https://my-server-ip:8080/hernia/main.a708cd98bbb56626.js:1:66529
dispatchEvent@https://my-server-ip:8080/hernia/40567.1500d4af43c557ae.js:1:2357314
@https://my-server-ip:8080/hernia/40567.1500d4af43c557ae.js:1:2360357
N@https://my-server-ip:8080/hernia/polyfills.ab697c9c90ea86d3.js:1:13315
runTask@https://my-server-ip:8080/hernia/polyfills.ab697c9c90ea86d3.js:1:4182
invokeTask@https://my-server-ip:8080/hernia/polyfills.ab697c9c90ea86d3.js:1:10016
st@https://my-server-ip:8080/hernia/polyfills.ab697c9c90ea86d3.js:1:22973
ct@https://my-server-ip:8080/hernia/polyfills.ab697c9c90ea86d3.js:1:23281

along with
Code: Select all
Executor,uuid:DABDBDB:2, clientid: C05C6E61-8EFF-4887-AB21-0E1A2A5BFA97   ERROR   org.sablo.BrowserConsole

Thanks