vikunja/pkg
kolaente 18f16878a8 fix: prevent nil pointer panic in mention notification listeners
When a task bucket is updated without changing buckets (early return in
updateTaskBucket), b.Task remains nil. The TaskUpdatedEvent was then
dispatched with a nil Task, causing a nil pointer dereference in
HandleTaskUpdatedMentions when accessing event.Task.Description.

This adds:
- A nil guard in TaskBucket.Update to skip event dispatch when b.Task is nil
- Nil checks in HandleTaskUpdatedMentions, HandleTaskCreateMentions,
  HandleTaskCommentEditMentions, and UpdateTaskInSavedFilterViews
- Tests verifying the handlers gracefully handle nil task events

Closes #2351
2026-03-04 10:29:16 +01:00
..
caldav fix(caldav): parse timestamps in configured timezone 2026-03-03 12:18:48 +01:00
cmd feat(cli): reorganize repair commands under unified 'vikunja repair' parent (#2300) 2026-02-25 11:50:09 +00:00
config fix: validate default settings timezone on startup (#2345) 2026-03-03 12:16:37 +00:00
cron fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
db fix(db): use WAL mode for SQLite and temp file for ephemeral databases 2026-03-03 10:41:19 +01:00
doctor refactor: remove typesense support 2026-02-25 12:15:28 +01:00
events feat(events): add DispatchOnCommit/DispatchPending for deferred event dispatch 2026-03-03 12:46:34 +01:00
files feat(cli): reorganize repair commands under unified 'vikunja repair' parent (#2300) 2026-02-25 11:50:09 +00:00
health feat: introduce shared health check logic (#1073) 2025-07-02 21:01:41 +00:00
i18n chore(i18n): update translations via Crowdin 2026-02-21 01:09:54 +00:00
initialize refactor: remove typesense support 2026-02-25 12:15:28 +01:00
log fix(log): write each log category to its own file (#2206) 2026-02-08 15:22:58 +00:00
mail fix(mail): disable queue when mailer disabled (#2069) 2026-01-08 15:51:31 +01:00
metrics fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
migration refactor: remove typesense support 2026-02-25 12:15:28 +01:00
models fix: prevent nil pointer panic in mention notification listeners 2026-03-04 10:29:16 +01:00
modules fix(events): dispatch pending events in migration and export handlers 2026-03-03 12:46:34 +01:00
notifications fix: isolate deletion notifications into per-user transactions 2026-02-25 11:03:02 +01:00
plugins fix(deps): update module github.com/labstack/echo/v4 to v5 (#2131) 2026-01-24 20:38:32 +01:00
red fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
routes fix(events): dispatch pending events in migration and export handlers 2026-03-03 12:46:34 +01:00
swagger [skip ci] Updated swagger docs 2026-02-25 13:05:32 +00:00
user fix(events): defer event dispatch for user creation and task positions 2026-03-03 12:46:34 +01:00
utils refactor(utils): extract ContainsPathTraversal to shared utils package 2026-02-25 13:01:00 +01:00
version fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
web feat(handlers): dispatch pending events after transaction commit 2026-03-03 12:46:34 +01:00
webtests test(api): add tests for password validation in reset and update flows 2026-02-25 13:44:56 +01:00