The following:
function getCMSFields(){
$fields = parent::getCMSFields();
...
$fields->addFieldToTab('Root.Homepage', new HtmlEditorField('HomepageDescription', 'Homepage Description (Optional)'));
$fields->addFieldToTab('Root.Homepage.Display', new CheckboxField('ShowInHomepage', 'Show this special on the Homepage (customise below)'));
...
Throws the error:
User Error] FieldSet::addFieldToTab() Tried to add a tab to object 'Tab' named 'Homepage' - 'Display' didn't exist.
GET /admin?flush=1
Line 266 in D:\Websites\xampp\htdocs\sapphire\forms\FieldSet.php
Which is an error in findOrMakeTab when adding 'ExistingRoot.NewTab.NewSubTab'
Any suggestions or should i log this bug?
Also are tabs limited to three levels? (this bug prevents me finding out)