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

Cannot resolve /hostedPlugin/ Resources from Sidecar Containers #17517

Closed
tsmaeder opened this issue Jul 29, 2020 · 1 comment
Closed

Cannot resolve /hostedPlugin/ Resources from Sidecar Containers #17517

tsmaeder opened this issue Jul 29, 2020 · 1 comment
Labels
area/editor/theia Issues related to the che-theia IDE of Che kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.

Comments

@tsmaeder
Copy link
Contributor

Describe the bug

When testing the Java test runner plugin in Che, I noticed that some icons symbolizing "run", "pass", etc. could not be shown (#14871 (comment)). It turns out that the request for such icons (https://routeij17ga9z-che.apps-crc.testing/hostedPlugin/vscode-java-test/resources/media/dark/pass.svg) fails with code 404.
Such URI's are usually resolved here, but since the icon is not present in the Theia container, but only in the sidecar container running the plugins, the request fails with "not found".

Che version

che-theia master as of today.

Steps to reproduce

  1. Add the java test runner plugin to a java-maven workspace, by using this plugin URI: https://raw.githubusercontent.com/tsmaeder/che-plugin-registry/17025_update_java_extensions/v3/plugins/redhat/java11/0.63.0/meta.yaml
  2. From the test explorer, run a test via the context menu
  3. Observe: there are no icons visible and the log shows a 404 for uri's like the one above.

Expected behavior

The icon needs to show up.

Browser Log:

CellMeasurer.js:102 GET https://routeij17ga9z-che.apps-crc.testing/hostedPlugin/vscode-java-test/resources/media/dark/pass.svg 404 (Not Found)

@tsmaeder tsmaeder added the kind/bug Outline of a bug - must adhere to the bug report template. label Jul 29, 2020
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Jul 29, 2020
@benoitf benoitf added area/editor/theia Issues related to the che-theia IDE of Che severity/P1 Has a major impact to usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Jul 29, 2020
@tsmaeder
Copy link
Contributor Author

This works now agains che-theia:next

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/editor/theia Issues related to the che-theia IDE of Che kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

3 participants