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

Delete Project graphql query character mismatch #2547

Closed
jaimed-amazee opened this issue Feb 26, 2021 · 0 comments · Fixed by #2869
Closed

Delete Project graphql query character mismatch #2547

jaimed-amazee opened this issue Feb 26, 2021 · 0 comments · Fixed by #2869
Labels
1-api-auth API & Authentication subsystem bug

Comments

@jaimed-amazee
Copy link
Contributor

Describe the bug

The character limit for project name in the delete project mutation is 50 chars, but the table has a limit of 100 chars. As a result, projects with names longer than 50 chars are being created, but unable to be deleted.

To Reproduce

Steps to reproduce the behavior:

  1. Create a project with a name with more than 50 chars
  2. Attempt to delete the project using graphql delete project mutation

Expected behavior

The project should be deleted.

Additional context

Here is the graphql error message:

{ "errors": [ { "message": "Data too long for column 'name' at row 1", "locations": [ { "line": 305, "column": 3 } ], "path": [ "deleteProject" ] } ], "data": { "deleteProject": null } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-api-auth API & Authentication subsystem bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants