Lauri Ojansivu
f23695cc1b
Scheduled rules act as the board's admin, so their created cards have an author.
...
Production log (v13.13): "scheduledRules: error running trigger ...
User ID is required in cards insertAsync" on every run. Scheduled rules,
auto-archive and attachment retention acted as board.createdBy, but the
Boards schema has no createdBy, so it was undefined on every board: a
scheduled rule ran as nobody and its "create card" action always failed.
models/lib/boardActor.js names the board's first active admin, else its
first active member. The rule's createCard action also passes its acting
user as the card's author, since a scheduled run has no method user for
the schema's autoValue. tests/boardActor.test.cjs scans the tree so that
nothing reads board.createdBy again.
Thanks to xet7 !
2026-11-18 22:25:34 +02:00
..
2026-11-18 22:25:34 +02:00
2026-09-28 17:23:15 +03:00
2026-11-18 22:25:34 +02:00
2026-03-24 01:50:39 +02:00
2026-03-24 01:50:39 +02:00
2026-09-27 17:05:01 +03:00
2026-09-28 04:37:02 +03:00
2026-11-02 11:25:57 +02:00
2026-05-31 11:12:41 +03:00
2026-03-24 01:50:39 +02:00
2026-11-02 14:15:02 +02:00
2026-11-18 22:25:34 +02:00
2026-10-14 16:46:59 +03:00
2026-11-02 14:15:02 +02:00
2026-11-15 14:11:10 +03:00
2026-11-18 21:39:15 +02:00
2026-10-14 13:15:39 +03:00
2026-03-24 01:50:39 +02:00
2026-10-14 12:09:34 +03:00
2026-11-18 21:39:15 +02:00
2026-10-27 14:52:06 +02:00
2026-10-16 23:45:35 +03:00
2026-10-14 15:24:57 +03:00
2026-11-13 17:45:05 +02:00
2026-03-24 01:50:39 +02:00
2026-10-09 12:52:21 +03:00
2026-10-14 08:20:49 +03:00
2026-10-14 15:41:26 +03:00
2026-11-11 22:29:01 +02:00
2026-11-06 12:20:48 +03:00
2026-11-01 14:00:19 +02:00
2026-11-02 14:15:02 +02:00
2026-11-04 14:50:33 +02:00
2026-11-01 14:00:19 +02:00
2026-11-04 14:50:33 +02:00
2026-08-09 03:43:07 +03:00
2026-10-25 07:23:31 +02:00
2026-10-14 12:43:36 +03:00
2026-07-27 23:39:37 +03:00
2026-11-07 00:51:53 +02:00
2026-10-29 20:27:14 +02:00
2026-10-14 14:54:38 +03:00
2026-03-24 01:50:39 +02:00
2026-05-31 02:22:31 +03:00
2026-10-21 15:30:32 +03:00
2026-10-15 01:27:26 +03:00
2026-11-06 19:24:04 +02:00
2026-09-28 02:30:48 +03:00
2026-08-16 15:52:54 +03:00
2026-08-16 16:17:13 +03:00
2026-11-06 19:24:04 +02:00
2026-03-24 01:50:39 +02:00
2026-03-24 01:50:39 +02:00
2026-03-24 01:50:39 +02:00
2026-10-08 12:44:46 +03:00
2026-07-21 10:06:41 +03:00
2026-10-14 12:43:36 +03:00
2026-03-24 01:50:39 +02:00
2026-09-27 22:20:46 +03:00
2026-09-27 17:33:38 +03:00
2026-09-27 17:33:38 +03:00
2026-09-27 22:20:46 +03:00
2026-11-03 17:19:22 +02:00
2026-10-14 09:28:45 +03:00
2026-10-31 14:54:22 +02:00
2026-10-02 20:53:38 +03:00
2026-03-24 01:50:39 +02:00
2026-11-06 19:24:04 +02:00
2026-07-22 16:22:39 +03:00
2026-09-19 14:00:48 +03:00
2026-11-06 19:24:04 +02:00
2026-06-13 17:19:51 +03:00
2026-09-29 14:34:18 +03:00
2026-03-24 01:50:39 +02:00
2026-11-18 22:25:34 +02:00
2026-11-03 16:04:44 +02:00
2026-11-06 19:24:04 +02:00
2026-03-24 01:50:39 +02:00
2026-11-06 19:24:04 +02:00
2026-06-12 20:15:56 +03:00