Commit 77c79be
authored
Do not try to generate fragments for generated fragments (see contao#2521)
Description
-----------
If a fragment has multiple methods with different fragment type (e.g. a content element and a front end module), the first RegisterFragmentsPass creates a child definition that inherits all tags from the original. On the next run, the RegisterFragmentsPass would pick up the child definition and try to create duplicate fragments.
Commits
-------
cc5d72c Do not try to generate fragments for generated fragments
a0b92bb CS
4b8bc8f Merge branch '4.9' into bugfix/fragment-children1 parent e6c4b18 commit 77c79be
File tree
1 file changed
+8
-0
lines changed- core-bundle/src/DependencyInjection/Compiler
1 file changed
+8
-0
lines changedLines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
86 | 94 | | |
87 | 95 | | |
88 | 96 | | |
| |||
0 commit comments