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 have a nested Matrix which will throw the error "The owner element must be a derivative." sometimes. It happens when we edit elements in a slideout.
When it occurs, it will prevent us from saving. The only workaround is, to open the slideout content in a new tab and save there. Or to save the owner entry, but this will delete the content of the edited child. Then the element can be edited again. We have several nested Elements (Accordion, Column Text, ...) and it happens on each of them.
While developing locally I think I got it once, but on servd it shows up a lot. To me (admin) and all of the authors.
I could not find a safe way to reproduce it. But I just have to create some nested elements and after some time it will happen.
Steps to reproduce
Create a nested matrix element
In the content, add children, tinker around with editing/saving until it occurs
Expected behavior
No errors should show up when saving nested elements.
Actual behavior
"The owner element must be a derivative." shows up occasionally and prevents saving. Here are two examples:
bug-short.movbug-accordion.mov
Craft CMS version
Craft Pro 5.6.1
PHP version
8.3.8
Operating system and version
Linux 6.10.14-linuxkit
Database type and version
MySQL 8.0.36
Image driver and version
Imagick 3.7.0 (ImageMagick 6.9.11-60)
Installed plugins and versions
Asset Rev
8.0.0
Blitz
5.9.9
CKEditor
4.5.0
Code Field
5.0.0
Feed Me
6.6.1
Formie
3.0.19
Navigation
3.0.5
oEmbed
3.1.3
Retcon
3.2.1
Retour
5.0.5
Servd Assets and Helpers
4.0.13
The text was updated successfully, but these errors were encountered:
Thanks for the feedback – I sent a backup and my config incl. composer files to support. I now get the error every time – also locally. I also tested Craft 5.6.2.
What happened?
Description
I have a nested Matrix which will throw the error "The owner element must be a derivative." sometimes. It happens when we edit elements in a slideout.
When it occurs, it will prevent us from saving. The only workaround is, to open the slideout content in a new tab and save there. Or to save the owner entry, but this will delete the content of the edited child. Then the element can be edited again. We have several nested Elements (Accordion, Column Text, ...) and it happens on each of them.
While developing locally I think I got it once, but on servd it shows up a lot. To me (admin) and all of the authors.
I could not find a safe way to reproduce it. But I just have to create some nested elements and after some time it will happen.
Steps to reproduce
Expected behavior
No errors should show up when saving nested elements.
Actual behavior
"The owner element must be a derivative." shows up occasionally and prevents saving. Here are two examples:
bug-short.mov
bug-accordion.mov
Craft CMS version
Craft Pro 5.6.1
PHP version
8.3.8
Operating system and version
Linux 6.10.14-linuxkit
Database type and version
MySQL 8.0.36
Image driver and version
Imagick 3.7.0 (ImageMagick 6.9.11-60)
Installed plugins and versions
The text was updated successfully, but these errors were encountered: