Task ID-URL mismatch

Off by one. vikunja.project.com/tasks/n links to task project-(n-1).

Where exactly? Does this work on the demo?

Demo? I’m not sure.

I uploaded some screenshots I thought would be helpful but it doesn’t look like I can share them.

Looks like posting one at a time doesn’t work either. That’s too bad.

Screenshot 2025-07-20 at 1.39.04 AM

The elusive off by 55 years bug.

I mean the official demo at https://try.vikunja.io - that runs with the latest changes. If it works there, it’s already fixed.

Apart from that, what exactly are you trying to do? Can you provide clear steps to reproduce the problem?

I created two tasks in the demo (v0.24.1). In both cases the Task ID in the task view - which appears as #[task ID] [task name] instead of [project name]-[task ID] [task name] as above - did not align with the ID in the URL.

I was trying to share a link to task n with URL syntax https://vikunda.example.com/tasks/*n*.

Also I appear to be running a later version than the demo (v0.24.6).

The task id you’re referring to is not actually the task id but the task index. A task index is unique only on the project level, whereas the id, the number you see in the url, is unique on the whole Vikunja instance.

The demo runs on unstable, which might report a different version than what you have, but is ultimately the newest. Quoting from the docs:

It might happen that the unstable version does not seem to be based on the latest release. For example, the version might report v0.24.1-566-gb3040b846 when the last release is v0.25.5. This does not mean the unstable builds are outdated. Depending on the release, we only backport changes to patch releases. The important part is the commit hash at the end, which you can verify in the git repo.