Joe Mooring
5559263326
common/hmaps: Merge slice-valued module config into site config
...
When a module provides a config key whose value is a slice (e.g.
cascade or permalinks), and the site config declares the same key as a
map with only a merge strategy marker (_merge = 'deep'), the types do
not match and Params.merge silently dropped the module's value, leaving
the site with no effective cascade or permalink config from the module.
Fix Params.merge so that when the destination value is an empty Params
(IsZero — only the _merge key is present) and the source value is a
non-Params type, the source value is used provided the user-declared
merge strategy is not 'none'. This honours the explicit _merge
directive regardless of the surrounding shallow-merge context.
Closes #13869
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-15 19:50:42 +02:00
..
2026-03-07 18:30:42 +01:00
2026-04-22 15:47:34 +02:00
2026-03-28 21:32:28 +01:00
2026-05-10 19:08:08 +02:00
2026-01-22 12:03:02 +01:00
2026-01-16 11:47:46 +01:00
2026-04-15 20:34:34 +02:00
2023-05-20 20:16:45 +02:00
2022-02-23 22:43:19 +01:00
2026-01-23 18:53:32 +01:00
2025-12-20 13:42:21 +01:00
2026-04-25 18:41:27 +02:00
2026-01-10 15:34:51 +01:00
2024-01-27 16:28:14 +01:00
2026-05-15 19:50:42 +02:00
2023-05-16 18:01:29 +02:00
2025-11-05 20:39:25 +01:00
2025-11-27 12:08:08 +01:00
2026-04-03 21:17:45 +02:00
2026-02-12 13:50:37 +01:00
2026-05-13 18:22:01 +02:00
2025-04-27 13:18:43 +02:00
2026-04-20 18:33:59 +02:00
2026-02-20 21:23:20 +01:00
2026-02-20 21:23:20 +01:00
2026-04-14 16:33:38 +02:00
2026-04-03 21:17:45 +02:00
2026-04-14 16:33:38 +02:00
2025-11-27 12:00:15 +01:00
2026-03-21 19:09:14 +01:00
2026-03-21 19:09:14 +01:00
2026-04-25 18:41:27 +02:00
2026-01-26 22:45:16 +01:00
2019-08-12 13:26:32 +02:00
2025-11-05 20:39:25 +01:00
2026-04-03 21:17:45 +02:00
2026-02-25 14:26:50 +01:00
2026-02-25 14:26:50 +01:00
2026-03-21 19:09:14 +01:00
2026-03-07 18:30:42 +01:00
2026-03-07 18:30:42 +01:00
2026-03-21 19:09:14 +01:00
2026-03-18 08:47:26 +01:00
2026-04-20 18:33:59 +02:00
2026-04-07 13:58:06 +02:00
2026-04-03 21:17:45 +02:00
2026-04-22 15:47:34 +02:00
2026-04-07 13:58:06 +02:00
2026-03-08 21:43:37 +01:00
2026-04-25 10:43:37 +02:00
2025-11-27 12:00:15 +01:00
2026-03-21 19:09:14 +01:00
2026-02-17 19:10:47 +01:00
2026-04-07 22:05:42 +02:00
2025-11-05 20:39:25 +01:00
2026-04-24 19:02:46 +02:00
2025-11-05 20:39:25 +01:00
2025-11-27 12:00:15 +01:00
2026-05-09 11:54:20 +02:00
2025-11-05 20:39:25 +01:00
2026-04-25 18:41:27 +02:00
2024-01-27 16:28:14 +01:00
2026-04-19 19:45:45 +02:00
2026-04-04 14:53:20 +02:00
2026-02-12 19:33:58 +01:00
2025-11-05 20:39:25 +01:00
2025-11-25 11:37:05 +01:00
2023-07-28 15:14:23 +02:00
2026-05-15 19:50:42 +02:00
2026-04-03 21:17:45 +02:00
2022-03-17 22:03:27 +01:00
2024-01-27 16:28:14 +01:00
2026-03-15 18:32:41 +01:00
2026-04-24 19:02:46 +02:00
2026-04-03 21:17:45 +02:00
2025-11-05 20:39:25 +01:00
2025-11-05 20:39:25 +01:00
2025-11-27 12:00:15 +01:00
2026-03-07 18:30:42 +01:00
2026-03-07 18:30:42 +01:00
2026-04-07 13:58:06 +02:00
2020-12-03 13:12:58 +01:00
2023-05-16 18:01:29 +02:00
2026-04-08 13:19:45 +02:00
2026-04-07 22:05:42 +02:00
2026-04-03 21:17:45 +02:00
2026-04-22 20:15:19 +02:00
2025-11-10 12:00:58 +01:00
2025-11-27 12:00:15 +01:00
2026-04-22 20:15:19 +02:00
2024-11-03 13:33:31 +01:00
2025-11-18 19:17:15 +01:00
2026-04-04 14:53:20 +02:00
2026-04-25 18:41:27 +02:00
2025-11-27 12:00:15 +01:00
2025-11-05 20:39:25 +01:00
2026-02-18 14:34:47 +01:00
2026-03-07 18:30:42 +01:00
2026-04-03 21:17:45 +02:00
2025-11-27 12:00:15 +01:00
2026-05-11 12:26:13 +02:00
2025-11-27 12:00:15 +01:00
2025-11-27 12:00:15 +01:00
2026-03-07 18:30:42 +01:00
2026-04-24 19:02:46 +02:00