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

Download for starter projects is broken in several devfile components #781

Closed
dgolovin opened this issue Feb 23, 2022 · 1 comment · Fixed by devfile/registry-viewer#33
Closed
Assignees
Labels
kind/bug Something isn't working

Comments

@dgolovin
Copy link

/kind bug

Which area this bug is related to?

/area registry

What versions of software are you using?

Operating System: Linux

Go Pkg Version: N/A

Bug Summary

Describe the bug: https://registry.devfile.io/viewer download button for starter projects is not working properly for several devfiles:

  • .NET
  • Wildfly

It reports an error:

Internal error has occurred during download. Please try again or report as issue.
SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 5 of the JSON data

To Reproduce:

vscode-record-test-2022-02-22_19.10.57.mp4

Expected behavior

Downloads the sample project

Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable.

Se above.

Additional context

Any workaround?

No workarounds have been found.

Suggestion on how to fix the bug

N/A

@openshift-ci openshift-ci bot added the kind/bug Something isn't working label Feb 23, 2022
@johnmcollier
Copy link
Member

This should be fixed once the viewer consumes the new download starter project endpoint in #720

CC @michael-valdron @schultzp2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants