Solution Explorer provides the front door into the Integreatly initiative. It hosts the various Solution Patterns, as well as providing a dashboard of installed applications/products/services.
Apache License 2.0
36
stars
54
forks
source link
INTLY-4959 - fix sorting service crashes on login on os4 #547
On OS4, login is broken due to the object returned when calling getServiceSortOrder() does not contain a spec object causing an undefined error and crashing the webapp on login
Run the ./scripts/setup-htpass-idp.sh to create sample users
Visit solution explorer and ensure you can sign in and sign out without errors with the created users
Note: There is an known issue where logging out using kubeadmin would sign the user back in. Just testing the users created from the script should be fine
Checklist:
[ ] Code has been tested locally by PR requester
[ ] Changes have been successfully verified by another team member
Motivation
On OS4, login is broken due to the object returned when calling
getServiceSortOrder()
does not contain a spec object causing an undefined error and crashing the webapp on loginJira:
What
svc.name
instead ofsvc.spec.clusterServiceClassExternalName
Verification Steps
oc edit deployment tutorial-web-app-operator -n rhmi-solution-explorer
quay.io/kevfan/tutorial-web-app:2.21.1
on tutoiral web app deployment configoc edit deploymentconfig tutorial-web-app -n rhmi-solution-explorer
./scripts/setup-htpass-idp.sh
to create sample usersChecklist: