Closed richardhj closed 6 years ago
Are there any 3rd party extensions in use (going beyond the default mm extension stack)? Never stumbled upon it so far.
Could you provide your composer.lock file?
Caught!
Found the fault in my code.
I wrote
$GLOBALS['TL_DCA']['tl_metamodel']['metapalettes']['default extends default']['+advanced'][] = 'myfield';
This looks like nonsense at the first sight, however, I wanted to save time when I have written my dca. And this was running in v1.0 😇
Nice idea to extend a default palette. :) V2.0 supports multiple inheritance so it runs in the recursion issue.
As your code worked but never was official supported nor an extension can trust it would work (as it easily would be overwritten) I won't fix it.
Probably add an exception to prevent self inheritance. A circular recursion can't be detected with the current implantation though.
Now an exception is thrown if a circular reference to the same palette name is detected (See 65fe4a0).
👍
…with v2.0 on calling
contao?do=metamodel
contao.pdf