No display type selected when session expired and authentication done via Mutli or Choice
In 1.9, when authentication is done via Multi or Choice, and we get an expired session, no display type is available when printing the warning.
Logs for Multi :
[Mon Apr 24 11:06:31.412751 2017] [perl:debug] [pid 13579] CGI.pm(115): Lemonldap::NG::Portal::SharedConf: processing to sub controlExistingSession
[Mon Apr 24 11:06:31.412868 2017] [perl:debug] [pid 13579] CGI.pm(115): Lemonldap::NG::Portal::SharedConf: Try to get SSO session 38eaf2ba1bf32c16db74b72ae251b0b69b4f83f075ae26610765aed56c49758f
[Mon Apr 24 11:06:31.413598 2017] [perl:debug] [pid 13579] CGI.pm(114): /usr/share/perl5/Lemonldap/NG/Portal/Simple.pm 934:
[Mon Apr 24 11:06:31.413612 2017] [perl:notice] [pid 13579] Session cannot be tied: Object does not exist in the data store at /usr/share/perl5/Apache/Session/Store/File.pm line 98.\n
[Mon Apr 24 11:06:31.414234 2017] [perl:debug] [pid 13579] CGI.pm(115): Lemonldap::NG::Portal::SharedConf: Display type
{code}
Logs for Choice (we have a SERVER_ERROR here):
{code}
[Mon Apr 24 11:11:23.107213 2017] [perl:debug] [pid 13754] CGI.pm(115): Lemonldap::NG::Portal::SharedConf: processing to sub controlExistingSession
[Mon Apr 24 11:11:23.107396 2017] [perl:debug] [pid 13754] CGI.pm(115): Lemonldap::NG::Portal::SharedConf: Try to get SSO session 856b14aefa98b110443d4b610ee3055e639a32437df75d20e050ac67db2bcfb3
[Mon Apr 24 11:11:23.110636 2017] [perl:debug] [pid 13754] CGI.pm(114): /usr/share/perl5/Lemonldap/NG/Portal/Simple.pm 934:
[Mon Apr 24 11:11:23.110660 2017] [perl:notice] [pid 13754] Session cannot be tied: Object does not exist in the data store at /usr/share/perl5/Apache/Session/Store/File.pm line 98.\n
[Mon Apr 24 11:11:23.111424 2017] [:error] [pid 13754] Can't locate object method "getDisplayType" via package "Lemonldap::NG::Portal::SharedConf" at /usr/share/perl5/Lemonldap/NG/Portal/Display.pm line 299.\n
I don't know if this is also the case in 2.0, this need to be tested.