New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugfix: Weird behaviour after switching users (rebased onto dev_5_0) #2199
Bugfix: Weird behaviour after switching users (rebased onto dev_5_0) #2199
Conversation
After switching user new service adapater instances were created but never passed on to the registry.
--rebased-from #2189 |
Testing using OMERO.insight-5.0.0-175-2d7453e-ice33-b612-mac on gretzky. Used "Switch user" to logout as user-9 and logged in as user-3. Used "Switch user" to logout as user-3 and logged in as user-2. Used "Switch user" to logout as user-2 and logged in as user-6. Conclusion: Screenshots: |
@dominikl, @gusferguson: sorry for not replying earlier. The problem highlighted by @gusferguson is not related to the changes introduced by this PR see gh-2225. |
i.e. "good to go"? |
ping |
For me, yes, good to go. If there are no other objections? |
Perfect, thanks. |
…pear Bugfix: Weird behaviour after switching users (rebased onto dev_5_0)
This is the same as gh-2189 but rebased onto dev_5_0.
After switching users new service adapter instances were created but never passed on to the registry, so subsequent calls to the server picked up old service adapter instances, with the old OMEROGateway which still used the session created by the previous user.
Fix for: https://trac.openmicroscopy.org.uk/ome/ticket/12055
Should also fix other issues due to switching users
To Test: Follow the scenario mentioned in the ticket above;