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

[Users] JS exception occurs while trying to save the user form

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • 3.3.x-dev, 4.3.x-dev, 4.4.x-dev, 4.4.1, 3.3.31, 4.3.4
    • None

    Description

      Preconditions:

      • Added one language e.g Polish pl-PL

      Steps to reproduce:

      1. Log in to back office.
      2. Go to Admin / Users / Administrator User.
      3. Switch to 'Translation' tab.
      4. Add translation for Polish language (preconditions).
      5. Being on edit user form click on 'Publish' button.
      6. Verify web browser console output.

      Actual result:
      See attached screenshot.

      • JS exception occurs while trying to save the user form
      • Mandatory fields are grayed out and user cannot fill the required data
      Uncaught TypeError: Cannot read properties of undefined (reading 'closest')
          at focusOnFirstError (ezplatform-admin-ui-content-edit-parts-js.js:5715:35)
          at isFormValid (ezplatform-admin-ui-content-edit-parts-js.js:5771:5)
          at HTMLButtonElement.clickHandler (ezplatform-admin-ui-content-edit-parts-js.js:5729:9)
          at HTMLButtonElement.trigger (ezplatform-admin-ui-layout-js.js:2902:26) 

      Expected result:

      • No exception occurs.
      • User can fill mandatory fields

      Edit:
      Since december when the bug has been reported, now we have another (more serious) bug in this scenario - 500 internal server error.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              bogdan.mazur@ibexa.co Bogdan Mazur
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: