Skip to content

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

Closed
devfile/registry-viewer
#33
@dgolovin

Description

@dgolovin

/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

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions