When changing languages on the OPAC the SCO user is logged out - this si because we always redirect to opac home when changing. We should preserve current location when switching. To recreate: 1 - enable more than 1 language in opaclanugages syspref 2 - enable opaclanguagedisplay syspref 3 - have WebBasedSelfCheck enabled and setup with AutoSelfCheckUser 4 - go to the SCO: http://localhost:8080/cgi-bin/koha/sco/sco-main.pl 5 - Switch languages 6 - get a log out screen
(In reply to Nick Clemens from comment #0) > When changing languages on the OPAC the SCO user is logged out - this si > because we always redirect to opac home when changing. > This is not true - if everything is alright, you will stay at the page you are at when changing languages. One mistake that can happen here is not setting up the BaseUrls correctly, that will cause a redirect for home.
The language switch behaviour is broken in general for me on master with kohadevbox. In OPAC and staff it still works nicely in 18.11 for me. Couldn't test 19.05.
Confirmed for SCO. The patronid parameter is lost and so we are getting the login page. We could enhance opac-changelanguage and pass additional parameters to keep for the next script. So far it only keeps the GET parameters from the referer, not sure we want to have the patronid in the url when a user log in (/cgi-bin/koha/sco/sco-main.pl?patronid=42).
(In reply to Katrin Fischer from comment #2) > The language switch behaviour is broken in general for me on master with > kohadevbox. In OPAC and staff it still works nicely in 18.11 for me. > Couldn't test 19.05. Ok for me on master at the OPAC. I can login, search, change language => still logged in.
Nick, can you confirm this is a more general problem?
Jonathan - problem for me was not losing login on master, but always being sent back to the start page. I had localhost:8080 and localhost:8081 in my baseUrls defined. Same happened on OPAC and staff.
(In reply to Katrin Fischer from comment #6) > Jonathan - problem for me was not losing login on master, but always being > sent back to the start page. I had localhost:8080 and localhost:8081 in my > baseUrls defined. Same happened on OPAC and staff. The behavior is correct for me. However I do not use ports.