fix: make project template inheritance granular and safe
linter / quality (pull_request) Successful in 2m52s
tests / ci (8.4) (pull_request) Successful in 3m15s

This commit is contained in:
Nico Schröder
2026-09-08 12:03:07 +02:00
parent 0f125f17a3
commit 3122e00ed8
50 changed files with 1504 additions and 624 deletions
@@ -243,6 +243,13 @@ class ProjectTemplateControllerTest extends TestCase
'position' => 1,
'is_parent' => false,
]);
$inheritingProject->refresh()->forceFill(['template_overrides' => []])->saveQuietly();
$overriddenProject->refresh()->forceFill([
'template_overrides' => [
DuplicateProjectConfiguration::COPY_PROJECT_SETTINGS,
DuplicateProjectConfiguration::COPY_TICKET_TYPES,
],
])->saveQuietly();
$sourceProject->forceFill([
'show_author' => true,