[Bug 23201] New: Changing languages on the OPAC redirects to opac-main which logs out SCO/SCI users
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23201 Bug ID: 23201 Summary: Changing languages on the OPAC redirects to opac-main which logs out SCO/SCI users Change sponsored?: --- Product: Koha Version: 18.11 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: I18N/L10N Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: frederic@tamil.fr Target Milestone: --- 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 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23201 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (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. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23201 --- Comment #2 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- 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. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23201 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org --- Comment #3 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- 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). -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23201 --- Comment #4 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (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. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23201 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|18.11 |master -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23201 --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Nick, can you confirm this is a more general problem? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23201 --- Comment #6 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- 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. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23201 --- Comment #7 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (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. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org