question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Che UI is buggy after loading workspace with Devfile via factory

See original GitHub issue

Description

I have a simple Devfile referencing two projects on Github and a Theia editor of version next.

---
specVersion: 0.0.1
name: my-plugin-env
projects:
  - name: microproj
    source:
      type: git
      location: 'https://github.com/rajivnathan/microproj.git'
  - name: nodeTemplate
    source:
      type: git
      location: 'https://github.com/microclimate-dev2ops/nodeExpressTemplate'
components:
  - alias: theia-ide
    type: cheEditor
    id: eclipse/che-theia/next

When I load a workspace with this devfile (such as via a factory), the Che dashboard becomes very buggy. I can’t select the workspace that was just loaded, nor can I interact with it.

What the sidebar looks like. It’s also preventing me from loading the Theia editor via the dashboard: Screen Shot 2019-05-23 at 11 33 54 AM

What happens when I try to select a workspace: Screen Shot 2019-05-23 at 11 34 31 AM

However, despite this, the workspace loads fine and if I access the workspace IDE directly (such as with http://che-che.10.100.41.160.nip.io/dashboard/#/ide/che/my-plugin-env_1) I can use it just fine.

Reproduction Steps

Load a workspace using my devfile I referenced above. The workspace should load successfully. Navigate back to the Che dashboard and you should see the UI bugs from the screenshots above.

OS and version:
Che latest

I’ve been able to reproduce on: OKD 3.11 OpenShift 3.11 ICP 3.2.0 ICP 3.1.2 Docker Desktop

Diagnostics: Javascript Console Logs: che_js_console_logs.txt

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
ashumilovacommented, May 30, 2019

I am almost done with the fix, but need to wait for tests to pass 😦

1reaction
johnmcolliercommented, Jun 4, 2019

@ashumilova I just got around to using the new Che image, all fixed for me. Thanks!!!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chapter 3. Workspaces overview - Red Hat Customer Portal
Che -Theia IDE basics ... Overriding devfile values using factory parameters; 3.1.7. ... Adding tools to CodeReady Workspaces after creating a workspace
Read more >
Introduction to Eclipse Che :: Eclipse Che Documentation
A multi-container workspace for each developer with the ability to replicate with a single click using Eclipse Che factories. Pre-built stacks with the ......
Read more >
Introduction to Devfile - GitHub Pages
Also, it is possible to execute devfile by constructing the factory with the URL to it's raw content, ... chectl workspace:start --devfile=devfile.yaml.
Read more >
How to switch git branch in Eclipse Che - java - Stack Overflow
http://che.openshift.io/factory?url=https://github.com/sunix/quickperf-examples/tree/didact. will load the devfile.yaml in that didact ...
Read more >
DevConf.CZ 2020: Full Schedule
describing your development environment as a portable, reproducible workspace with Che Devfile; - using OpenShift Connector Che Plugin to interact with your ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found