Hi All,

question regarding CAS Dashboard - SSO sessions, we are using 5.3.1. It 
failed to display the page with below error

*ssosessions.js:232 Uncaught TypeError: Cannot read property 'length' of 
undefined*
at render (ssosessions.js:232)
at jquery.dataTables.min.js:18
at Object.b.fnGetData (jquery.dataTables.min.js:12)
at B (jquery.dataTables.min.js:17)
at Ga (jquery.dataTables.min.js:24)
at M (jquery.dataTables.min.js:16)
at jquery.dataTables.min.js:48
at i (jquery.dataTables.min.js:35)
at Object.success (jquery.dataTables.min.js:35)
at u (jquery.js:3268)
render @ ssosessions.js:232
(anonymous) @ jquery.dataTables.min.js:18
b.fnGetData @ jquery.dataTables.min.js:12
B @ jquery.dataTables.min.js:17
Ga @ jquery.dataTables.min.js:24
M @ jquery.dataTables.min.js:16
(anonymous) @ jquery.dataTables.min.js:48
i @ jquery.dataTables.min.js:35
success @ jquery.dataTables.min.js:35
u @ jquery.js:3268
fireWith @ jquery.js:3398
k @ jquery.js:9305
(anonymous) @ jquery.js:9548
load (async)
send @ jquery.js:9567
ajax @ jquery.js:9206
sa @ jquery.dataTables.min.js:36
ga @ jquery.dataTables.min.js:48
e @ jquery.dataTables.min.js:92
(anonymous) @ jquery.dataTables.min.js:92
each @ jquery.js:354
each @ jquery.js:189
m @ jquery.dataTables.min.js:82
h.fn.DataTable @ jquery.dataTables.min.js:164
createDataTable @ ssosessions.js:182
init @ ssosessions.js:342
(anonymous) @ ssosessions.js:343
(anonymous) @ ssosessions.js:351

*but we see it is working in 
http://casserver.herokuapp.com/cas/status/ssosessions*
*we compared the json returned from cas server it is different.*
*our cas server returns like below*
{
"@class": "java.util.HashMap",
"totalUsageCount": [
"java.lang.Long",
17
],
"activeSsoSessions": [
"java.util.ArrayList",
[
{
"@class": "java.util.HashMap",
"authentication_date": [
"java.time.ZonedDateTime",
1538058609.391
],
"authentication_date_formatted": "2018-09-27T10:30:09Z",
"authentication_attributes": {
"@class": "java.util.LinkedHashMap",
but cas server web app in heroko returns different json format
{
"totalUsageCount": 1,
"activeSsoSessions": [
{
"authentication_date": 1538057962.539,
"authentication_date_formatted": "2018-09-27T14:19:22Z",
"authentication_attributes": {
"credentialType": "UsernamePasswordCredential",
"authenticationMethod": "AcceptUsersAuthenticationHandler",
"successfulAuthenticationHandlers": [
"AcceptUsersAuthenticationHandler"
]
},

Thanks
Naresh

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/87238549-1043-4ee9-b1f9-6b184ee21946%40apereo.org.

Reply via email to