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

Wrong translation domain in update_role.html.twig

    XMLWordPrintable

    Details

      Description

      Wrong translation domain in update_role.html.twig for form.validation_error key in line 49:

      <li data-state="error">{{ "form.validation_error"|trans(domain="general") }}</li>
      

      There is general, but should be messages

      STEPS TO REPRODUCE:

      1. On the admin UI go to role edit form
      2. Try to create role with duplicated name e.g Editor
      3. Save changes
      4. Message displayed on the bottom contains form.validation_error instead of human readable text "Invalid form data"

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              adam.wojs@ez.no Adam Wójs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: