You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm integrating this module on my SS 4.0.3 project. It currently got 2 langs. I'm trying to follow the docs to configure has-many dataobjects in relation to their respective pages. Here's my project.yml:
(Omitting Caso.php to avoid redondance - It's the same as above)
After running /dev/build?flush=all then try to re-enter DataObject edit page, an exception is thrown:
[User Error] FieldList::addFieldToTab() Tried to add a tab to object 'SilverStripe\Forms\FieldList' - 'Root' didn't exist.
I tried to explicitly set a root tab, but nothing.
After numerous tries, when calling updateCMSfields(FieldList $fields) instead of getCMSfield() the code is compiled and edit the DataObject is allowed. Inside it, i see the Locale/Filterlocale tabs, but both empty. Plus, apparently no DB-splitting of data is set about those fields (if any field is filled then saved, data is copied in both locales).
Any suggestion?
Thanks in advance
The text was updated successfully, but these errors were encountered:
ghost
changed the title
[DataObject] FieldList Root tab didnt exist
[DataObject] Error: FieldList Root tab didnt exist
Mar 28, 2018
ghost
changed the title
[DataObject] Error: FieldList Root tab didnt exist
[DataObject] Error: FieldList Root tab didn't exists
Mar 28, 2018
I reopened the issue in order to submit the same bug with a little specification. I noticed that it's caused using explicitly - 'TractorCow\Fluent\Extension\FluentFilteredExtension' only, alone or in conjunction with - 'TractorCow\Fluent\Extension\FluentExtension' (still on SS 4.0.3).
Hi everyone,
I'm integrating this module on my SS 4.0.3 project. It currently got 2 langs. I'm trying to follow the docs to configure
has-many
dataobjects in relation to their respective pages. Here's myproject.yml
:In
Reference.php
:in Reference page relation:
(Omitting
Caso.php
to avoid redondance - It's the same as above)After running
/dev/build?flush=all
then try to re-enter DataObject edit page, an exception is thrown:[User Error] FieldList::addFieldToTab() Tried to add a tab to object 'SilverStripe\Forms\FieldList' - 'Root' didn't exist.
I tried to explicitly set a root tab, but nothing.
After numerous tries, when calling
updateCMSfields(FieldList $fields)
instead ofgetCMSfield()
the code is compiled and edit the DataObject is allowed. Inside it, i see the Locale/Filterlocale tabs, but both empty. Plus, apparently no DB-splitting of data is set about those fields (if any field is filled then saved, data is copied in both locales).Any suggestion?
Thanks in advance
The text was updated successfully, but these errors were encountered: