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][Code Sets] #1693

Open
mellouli-dev opened this issue Dec 10, 2024 · 0 comments
Open

[BUG][Code Sets] #1693

mellouli-dev opened this issue Dec 10, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mellouli-dev
Copy link
Collaborator

Describe the bug

  1. You can commit a code set version with empty list of codes
  2. If you do that and then try to commit the next version, you get this error: Http failure response for http://localhost:4200/api/code-set/67586b6513cff30583281e47/compare/67586b6a13cff30583281e48/67586b6513cff30583281e46: 400 Bad Request

To Reproduce
Steps to reproduce the behavior:

  1. Commit a version with an empty list of codes
  2. Go to the version in progress and try to commit again
  3. See error

Expected behavior

  1. User shouldn't be able to commit if there are no codes
  2. Backend shouldn't send the bad request error.
    Screenshots
Screenshot 2024-12-10 at 11 39 55 AM
@mellouli-dev mellouli-dev added the bug Something isn't working label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants