Rename ?server query parameter to ?host #414
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This prevents collision with ?server=2 used by webclient @login_required decorator
This testing is the same
omero-web
functionality as recently tested in ome/omero-web#386, that was previously broken becauseiviewer
uses the?server=2
parameter from the URL which causes errors (this parameter was originally added for dev functionality but not used now). This has been re-named tohost
to prevent the collision, allowing theomero-web
workflow to function as normal...See ome/omero-web#379
To test, get a session ID, e.g via cli to e.g. nightshade
Try to login to a server that is not the first on the list. E.g. for merge-ci, try to login to nightshade, listed 3rd (
server=3
)First you need to look up an Image ID on target server (nightshade) that you can access with the session created above.
Then go to:
https://merge-ci.openmicroscopy.org/web/webclient/img_detail/IMAGE_ID/?bsession=SESSION_ID&server=3
You should be able to see the image.