-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow recursive dca picker in the same table #906
Conversation
| $menuBuilder = \System::getContainer()->get('contao.menu.picker_menu_builder'); | ||
|
|
||
| if (!$menuBuilder->supportsTable($this->strTable)) | ||
| if (!$menuBuilder->supportsTable($this->strTable) || empty($this->strPickerTable) || empty($this->strPickerField) || empty($this->intPickerId)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should run those checks before we initialize the menu builder, shouldn't we?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, changed in 4665cd5
|
For some reason, this change breaks the link picker (TinyMCE). |
|
It is the |
|
Reverted and fixed in 887bac7 now. |

fixes #883
Unfortunately, there's no cleaner solution…
Also tested to edit a page within the page picker and pick another page for the redirect 💪