I have the following models:
- Category
- Lookbook
- Item
With these relationships:
- Category hasMany Lookbooks
- Lookbook belongsTo Category
- Lookbook belongsToMany Items
- Items belongsToMany Lookbooks
I'm able to access these relationships in the backend forms via the relation behaviour controller modifier, so I can see the list of lookbooks for a category and I can see the list of items for a lookbook. If I click on an item from a lookbook, I can edit it in the relation manager popup but if I click on a lookbook from a category I get an error in the relation manager popup. The popup displays the raw HTML for the popup followed by the message "Relation behaviour does not contain a definition for 'items'."
It seems that the problem for categories is caused by the nested item relation in the lookbook.
Is it possible to access a relation via the relation manager for a relation that has it's own relations, i.e. a nested relation? (Hope that makes sense)