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

Adding admin task to manager/buddy who does not exist on new hire will raise error #363

Open
GDay opened this issue Sep 21, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@GDay
Copy link
Member

GDay commented Sep 21, 2023

To reproduce:
Create sequence with an admin task that will be assigned to "manager" or "buddy" (with a comment).
Assign sequence to user without buddy or manager.
This will raise a 500 error. This is due to all admin task comments needing an author and will therefore raise this error:
"null value in column "comment_by_id" of relation "admin_tasks_admintaskcomment" violates not-null constraint"

@GDay GDay added the bug Something isn't working label Sep 21, 2023
@GDay GDay self-assigned this Sep 21, 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
Projects
None yet
Development

No branches or pull requests

1 participant