Commit Graph
2 Commits
Author SHA1 Message Date
alexandre_gain_mt3s 88256ca345 feat(menu): move UTM Taxonomies and Smart Links into the Marketing Programs menu (0.18.2)
The standalone top-level "Smart Links" menu group is removed: its two pages,
UTM Taxonomies then Smart Links, are now the last children of the
Marketing Programs menu (priorities 50 and 45).

- the root's access array gains the smart_links and taxonomies view
  permissions, so users with only Smart Links rights still get the menu
  (Mautic checks the parent's access before showing the group)
- the now-unused mt3s.smart_links.menu.root translation key is removed
  from the en_US and fr_FR catalogs
- routes, tables, permissions and URLs are unchanged
- version bumped to 0.18.2 (plugins:reload picks the menu change up)
2026-11-21 17:43:56 +01:00
alexandre_gain_mt3s 603e564037 fix(task): task creation broke on save - task_kind could reach the database as null
A new Task's taskKind property defaulted to null (the 0.18.x task rework), while
the task_kind column is NOT NULL: Doctrine writes every column explicitly, so
the column's own default never applied and any save whose form field did not
map failed with "1048 Column 'task_kind' cannot be null".

- Task::$taskKind now defaults to TaskKind::Task, like $status: the property
  is never null anymore and the getter is straight
- setTaskKind()/setStatus() accept null as "keep the current kind/status", so
  a missing form field can neither throw at mapping time nor wipe the value
- TaskType defaults an absent or empty taskKind to a regular task on PRE_SUBMIT
- regression tests: Tests/Unit/Entity/TaskTest.php
2026-11-21 14:31:49 +01:00