Files
vikunja/pkg
kolaente fb1d9919b6 fix: ignore a task index outside the range a project can hold
address pr-swarm finding: index is documented read only but huma does not strip
read only fields from a request body, so a caller could post index MaxInt64.
calculateNextTaskIndex then wrapped to MinInt64 and every later create in that
project collided on the unique (project, index) constraint - one request, task
creation in a shared project broken for everyone, permanently.

Internal callers legitimately pass an index (duplication keeps task numbering),
so an implausible one now falls back to the server assigned next index instead
of being rejected outright.

Claude-Session: https://claude.ai/code/session_01GR9u1EFvq994jqGoeJqYSX
2026-07-30 00:28:00 +02:00
..
2026-07-02 17:38:37 +02:00