If I have a richtext referencing an image that does not exist anymore in the attachment of the richtext, this leads to an error that prevent from editing the document
java.lang.NullPointerException at org.ametys.cms.data.type.ResourceElementTypeHelper.getRepositoryData(ResourceElementTypeHelper.java:646) at org.ametys.cms.data.RichText._fetchAttachment(RichText.java:252) at org.ametys.cms.data.RichText.getAttachment(RichText.java:242) at org.ametys.cms.transformation.htmledition.DocbookLocalMediaObjectEditionHandler._processAttachment(DocbookLocalMediaObjectEditionHandler.java:114)