#106786Activation/Deactivation Fails with expanded FileReferences in content elements
Description
Images in content elements cannot be deactivated or activated when the element is expanded.
Images in regular content as well as in any type of element, such as “news” records or custom extensions, cannot be activated or deactivated once they are expanded.
However, when the images are collapsed, the update works normally again.
The issue only occurs if the FileReference is already expanded when the content element is opened.
This behavior can be reproduced in every TYPO3 version since 13.4.0.
Steps to reproduce:
- Create a content element with an image
- Save the element
- Expand the FileReference and save again
- Deactivate the FileReference and save once more