Che: Not able to open workspace with direct link

Created on 17 Jan 2020  Â·  6Comments  Â·  Source: eclipse/che

Describe the bug

I was no able to open workspace with a direct like this https://che-che.apps-crc.testing/admin/gogo
Знімок екрана  о 08 41 26
Знімок екрана  о 08 40 33
Знімок екрана  о 08 39 38

Che version

  • [ ] latest
  • [x] nightly
  • [ ] other: please specify

Steps to reproduce

  1. Create a workspace.
  2. Open a direct link in a separate tab of the browser.
  3. The workspace is not loaded correctly.

Expected behavior

Workspace loaded correctly.

Runtime

  • [ ] kubernetes (include output of kubectl version)
  • [X] Openshift (include output of oc version)
  • [ ] minikube (include output of minikube version and kubectl version)
  • [ ] minishift (include output of minishift version and oc version)
  • [ ] docker-desktop + K8S (include output of docker version and kubectl version)
  • [ ] other: (please specify)

Screenshots

Installation method

  • [x] chectl
  • [ ] che-operator
  • [ ] minishift-addon
  • [ ] I don't know

Environment

  • [ ] my computer

    • [ ] Windows

    • [ ] Linux

    • [x] macOS

  • [ ] Cloud

    • [ ] Amazon

    • [ ] Azure

    • [ ] GCE

    • [ ] other (please specify)

  • [ ] other: please specify

Additional context

aredashboard kinbug teacontroller

Most helpful comment

it fails there because String doesn't have the contains method

giphy

All 6 comments

@sleshchenko do you have an idea how to fix it?

@skabashnyuk it fails there because String doesn't have the contains method (was removed some time ago AFAIK). The best way is to use indexOf() which is supported by all browsers.

it fails there because String doesn't have the contains method

giphy

I suppose we're able easily to configure tomcat to redirect ${namespace}/${workspaceName} -> workspace-loader/${namespace}/${workspaceName}, but not sure if we need it. @skabashnyuk WDYT?

I suppose we're able easily to configure tomcat to redirect ${namespace}/${workspaceName} -> workspace-loader/${namespace}/${workspaceName}, but not sure if we need it. @skabashnyuk

We could try. I assume that might be some edge cases. It's for sure will take more time then https://github.com/eclipse/che/pull/16127. Thanks, guys for this pr.

Was this page helpful?
0 / 5 - 0 ratings