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

[UDW] Cannot link the content when a large amount of text is selected in richtext field

    XMLWordPrintable

Details

    Description

      Preconditions:

      • Clean installation of Ibexa DXP v3.3 or v4.0
      • Generate a large amount of text with several paragraphs

      Steps to reproduce

      1. Log in to back office.
      2. Go to Content / Content structure.
      3. Add new content Folder.
      4. Start creating new content Article and in richtext field add large amount of text.
      5. Link the whole text from richtext field to created folder (step 3).
      6. Try to confirm linked folder in UDW.

      Actual result:

      See attached screenshot and watch gif: https://recordit.co/eu8XkVot4J

      Cannot link the content when a large amount of text is selected.

      Uncaught TypeError: Cannot read properties of null (reading 'setAttribute')
          at EzBtnLinkEdit.udwOnConfirm (ezplatform-richtext-onlineeditor-js.js:4997)
          at Object.confirmHandler [as onConfirm] (ezplatform-admin-ui-content-edit-parts-js.js:10053)
          at onConfirm (ezplatform-admin-ui-udw-tabs-js.js:7376)
          at onClick (ezplatform-admin-ui-udw-tabs-js.js:4939)
          at Object.ki (react-dom.production.min.js:176)
          at ji (react-dom.production.min.js:13)
          at mi (react-dom.production.min.js:13)
          at lf (react-dom.production.min.js:13)
          at wi (react-dom.production.min.js:187)
          at Kd (react-dom.production.min.js:32)

      Expected result:

      Any content can be linked even when large amount of text is selected in richtext field.

      Note:

      When single word is selected in richtext field then no exception occurs.

      Designs

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated: