Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-31681

500 error after publishing translation with link to previously deleted content

    XMLWordPrintable

    Details

      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.

        Attachments

          Activity

            People

            Assignee:
            mateusz.debinski@ez.no Mateusz Dębiński
            Reporter:
            mateusz.bieniek@ez.no Mateusz Bieniek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: