Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-175

Invalid VersionValidator errors output when validation fails for multilingual content

    XMLWordPrintable

Details

    • Ibexa Content

    Description

      Steps to reproduce:

      1. Create a new CT with a single Text line field (not required), call it "Title".
      2. Create a Content of newly created CT in two languages (make original title field `null`, in translated version make it a normal string).
      3. Edit the mentioned CT and edit the "Title" field to be required.
      4. Edit second (non-empty) translation, change the value to any string value, click on publish.
      5. Put a dump($errors); before the line with the error to observe the validation errors.

      Result:
      Dumped data shows 3 validations errors.

      Expected result:
      Dumped data shows 1 validation error.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              bartlomiej.wajda@ibexa.co Bartłomiej Wajda
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: