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

[BUG 2.1.0] VCC UI becomes unavailable when trying to add a community repo listing which contains a pre-release version with pre-releases being disabled #238

Closed
techanon opened this issue Apr 10, 2023 · 2 comments
Assignees
Labels
bug Something isn't working vcc-web Items specific to the new Web Version vpm-resolver Issues related to the VPM Package Resolver package
Milestone

Comments

@techanon
Copy link

Describe the bug
When trying to add a community repo that has a package which contains only a pre-release version, VCC stops working (specifically the UI itself is no longer available).

To Reproduce
Steps to reproduce the behavior:

  1. In VCC Packages tab, disable Show Pre-releases
  2. Go to https://vpm.techanon.dev
  3. Click on Add To VCC (could also add the json manually too, either one causes the bug)
  4. Examine VCC no longer having a UI rendered

Expected behavior
Either warn or ignore or something that doesn't break the UI rendering

Screenshots
image

Additional context
I am uncertain if this is caused by the fact that one of the repos has nothing but pre-release, or if it's the fact that there's a pre-release at all and the Show Pre-releases is disabled.

@orels1 orels1 added bug Something isn't working vpm-core Issues related to the vpm-core labels Apr 12, 2023
@orels1
Copy link
Contributor

orels1 commented Apr 12, 2023

This bug also affects the Package Resolver, causing the Editor Window to throw errors when pre-release packages are disabled

@KhopeshActual KhopeshActual added this to the 2.1.1 milestone Apr 13, 2023
@orels1
Copy link
Contributor

orels1 commented Apr 14, 2023

It will now show up like this in the VCC:

Image

@orels1 orels1 added vcc-web Items specific to the new Web Version vpm-resolver Issues related to the VPM Package Resolver package and removed vpm-core Issues related to the vpm-core labels Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working vcc-web Items specific to the new Web Version vpm-resolver Issues related to the VPM Package Resolver package
Projects
None yet
Development

No branches or pull requests

3 participants