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

On ContentType update, already existing ContentObjects can be blocked

    Details

      Description

      On ContentType update, if you add a new required field, the ContentObjects of this type with already multiple translations will not be editable anymore.

      Steps to reproduce:

      • Create a ContentObject
      • Translate the ContentObject at least one time
      • Edit the ContentType of the created object by adding one required and translatable field
      • Try to edit any translation of the previous ContentObject and publish

      It will fail to publish because the other translations have missing fields. You will only get the "Connection error 400" banner but the js logs will show "Value for required field definition '<thenewfield>' with language '<theotherlanguage>' is empty"

        Activity

        Hide
        Amaury Vallier added a comment - - edited

        This is still a problem in the latest version of eZ Platform (& eZ Studio). Changed priority.

        Show
        Amaury Vallier added a comment - - edited This is still a problem in the latest version of eZ Platform (& eZ Studio). Changed priority.
        Hide
        Bertrand Dunogier added a comment -

        Interesting one.

        André Rømcke I kinda see that as mostly a Repository / Persistence issue, as we can hardly improve / fix that using UI or REST API. What do you think ?

        Show
        Bertrand Dunogier added a comment - Interesting one. André Rømcke I kinda see that as mostly a Repository / Persistence issue, as we can hardly improve / fix that using UI or REST API. What do you think ?
        Hide
        André Rømcke added a comment -

        Probably yes, but I haven't looked into it so no idea where the issue is. If the issue is with Repository, then the issue is with Repository or below.

        Show
        André Rømcke added a comment - Probably yes, but I haven't looked into it so no idea where the issue is. If the issue is with Repository, then the issue is with Repository or below.
        Hide
        Bertrand Dunogier added a comment -

        Flagged it as such. If it turns out it wasn't a repository one, feel free to requalify it

        Show
        Bertrand Dunogier added a comment - Flagged it as such. If it turns out it wasn't a repository one, feel free to requalify it

          People

          • Assignee:
            Unassigned
            Reporter:
            Amaury Vallier
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: