Bug 1490473 - URLs for classic user portal should redirect to VM Portal
Summary: URLs for classic user portal should redirect to VM Portal
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.UserPortal
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.2.0
: ---
Assignee: Greg Sheremeta
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-11 16:55 UTC by Greg Sheremeta
Modified: 2017-12-20 10:47 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-20 10:47:23 UTC
oVirt Team: UX
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 82548 0 master MERGED engine: add server config for /userportal redirect 2017-10-17 21:13:09 UTC

Description Greg Sheremeta 2017-09-11 16:55:23 UTC
Description of problem:
URLs for classic user portal should redirect to VM Portal
This will preserve old User Portal bookmarks

Currently those old links return 404.

Version-Release number of selected component (if applicable):
4.2

How reproducible:
100%

Steps to Reproduce:
1. navigate to <engine>/ovirt-engine/userportal-gwtp/

Actual results:
404

Expected results:
Redirect to VM Portal

Comment 1 Michal Skrivanek 2017-09-12 04:40:16 UTC
not sure if it's really needed. It's not the same portal anyway, there are many more things people need to adjust to than a bookmark

Comment 2 Greg Sheremeta 2017-10-15 17:31:28 UTC
the redirect pattern is:
/ovirt-engine/userportal(/.*$)?     ->     /ovirt-engine/web-ui

So to test, anything that starts with "/ovirt-engine/userportal" should redirect to /ovirt-engine/web-ui -- "/userportal", "/userportal2", and "/userportal/aaa" should all redirect.

Comment 3 Yaniv Kaul 2017-10-26 11:42:28 UTC
Can the BZ move to MODIFIED?

Comment 4 Greg Sheremeta 2017-10-26 11:49:44 UTC
Yep

Comment 5 Lucie Leistnerova 2017-10-31 13:10:53 UTC
The redirection works, but it doesn't pass on variables. Most of them I assume make no sense anymore, but e.g. locale=de_DE will be used also in VM portal. Should the variables also be redirected with the URL?

Comment 6 Michal Skrivanek 2017-11-07 14:38:40 UTC
I guess it should, but I wouldn't consider that critical really. The whole redirect is not so important, just to point admins to misconfiguration after update

Comment 7 Lucie Leistnerova 2017-11-07 15:58:45 UTC
Alright, thank you Michal. If needed, new BZ will be created.

verified in  ovirt-engine-4.2.0-0.0.master.20171106202508.gitf5140b9.el7.centos.noarch

Comment 8 Sandro Bonazzola 2017-12-20 10:47:23 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.