Skip to content
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

It was not possible to enter Create Workspace page in User Dashboard when there was incorrect "workspace-preferences-configmap" #23091

Open
dmytro-ndp opened this issue Aug 15, 2024 · 0 comments
Assignees
Labels
area/dashboard area/factory/dashboard Issues related to factories frontend (che user dashboard side) kind/bug Outline of a bug - must adhere to the bug report template. severity/P2 Has a minor but important impact to the usage or development of the system.

Comments

@dmytro-ndp
Copy link
Contributor

dmytro-ndp commented Aug 15, 2024

Describe the bug

It was not possible to enter Create Workspace page in User Dashboard when there was incorrect value in the "workspace-preferences-configmap" config map of user namespace.
Page showed error stack trace TypeError: e.some is not a function.

Che version

7.89@latest

Steps to reproduce

  1. Install Eclipse Che Next to OpenShift.
  2. Go to User Dashboard and create workspace using the form "Import workspace from Git".
  3. Go to user namespace in OpenShift web console and set incorrect value trusted-sources: '"all"' in the "workspace-preferences-configmap" config mapas following:
data:
  skip-authorisation: '[]'
  trusted-sources: '"all"'

Expected behavior

User Dashboard can be loaded as usual without error stack trace.

Runtime

OpenShift

Screenshots

Screenshot from 2024-08-15 00-02-18

Installation method

chectl/next

Environment

Linux

Eclipse Che Logs

No response

Additional context

Related: #23018

@dmytro-ndp dmytro-ndp added kind/bug Outline of a bug - must adhere to the bug report template. severity/P2 Has a minor but important impact to the usage or development of the system. area/dashboard area/factory/dashboard Issues related to factories frontend (che user dashboard side) labels Aug 15, 2024
@akurinnoy akurinnoy self-assigned this Aug 15, 2024
@dmytro-ndp dmytro-ndp changed the title It was not possible to enter Create Workspace page in User Dashboard when there was incorrect value in the "workspace-preferences-configmap" config map of user namespace It was not possible to enter Create Workspace page in User Dashboard when there was incorrect "workspace-preferences-configmap" Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dashboard area/factory/dashboard Issues related to factories frontend (che user dashboard side) kind/bug Outline of a bug - must adhere to the bug report template. severity/P2 Has a minor but important impact to the usage or development of the system.
Projects
None yet
Development

No branches or pull requests

2 participants