Details
-
Bug
-
Resolution: Fixed
-
High
-
2.5.9, 2.5.10
-
None
Description
After content is deleted and you edit a translation with the link in RTE pointing to that content, changing the link and publishing version will result in 500 error.
Steps to reproduce
1. Install 2.5.9 eZ Platform Enterprise demo
2. Log in to the AdminUI as admin user.
3. Under Home create a new Folder called Delete me and publish it.
4. Edit Home / Products / Greek salad with red cabbage in English. In Cooking Instructions field create a link to Delete me from the first sentence ("Add the ingredients in a salad bowl."). Publish changes.
5. Edit Home / Products / Greek salad with red cabbage in French. In Cooking Instructions field create a link to Delete me from the first sentence ("Ajouter les ingrédients dans un saladier."). Publish changes.
6. Send Delete me to trash.
7. Edit Home / Products / Greek salad with red cabbage in English. In Cooking Instructions field edit a link previously pointing to Delete me so it nows points to Home. Publish changes.
Result
ContentFieldValidationException > HttpException
eZ\Publish\Core\Base\Exceptions\ContentFieldValidationException: Content fields did not validate
Expected result
Content draft is published normally.