Adding task relation results in 500 internal server error #1119
Labels
No Label
dependencies
duplicate
help wanted
invalid
kind/bug
kind/feature
needs reproduction
question
security
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/vikunja#1119
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Expected behaviour
Adding a task relation should not result in an internal server error.
Actual behaviour
As soon as I navigate away from a task after adding a task relation, an error message is displayed in the bottom left corner:
The following error message is logged:
The list becomes completely inaccessible and cannot be deleted unless I delete the whole namespace containing the list. Other lists in the same namespace are not affected.
The error does not occur when trying the same on the demo instance (try.vikunja.io).
Steps to reproduce
Additional information
Vikunja is accessed using Firefox
96.0.3
with all content blockers disabled.config.yaml:
docker-compose.yaml:
API image digest:
sha256:8ea38476894b1bed7f412e9a1280cc3271ec4f0d80decc2fc93caea13c0183cf
Frontend image digest:
sha256:26ccd3b4d7c43c1e99d00924d2a76a630e03de690771aa48fb111875cec29f60
I just tried the
unstable
image tags - same error. Version is now the same as the demo instance (Frontend Version:0.18.1+1101-8f726e17ef
, API Version:v0.18.1+169-7978c91d09
) as of now.I was unable to reproduce this on try with the steps you provided. What was the exact relation you set between the tasks?
I couldn't replicate this on try.vikunja.io either. I tried the following relations: "Subtask", "Parent Task", "Blocked By" and "Related Task".
I will try to provide a more minimal working example to reproduce this issue.
The issue went away after removing the following lines from my config file:
Interestingly, this also resolved another issue where the same label would be displayed multiple times, adding one more each time i navigated between an issue and the task list.
Is there anything wrong with the way I configured caching?
I think your config is correct. This looks like a bug.
I took another look and I think I've fixed this now. Please check in ~30min with the next unstable release if the problem went away.
Can confirm that the issue is fixed, thanks!