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

The location list attribute throws an error if selected more than 50 items

    XMLWordPrintable

Details

    Description

      Steps to reproduce

      1. Install Ibexa DXP
      2. Create more than 50 contents
      3. Edit landing page "Ibexa Digital Experience Platform"
      4. Add collection block
      5. Select more than 50 locations
      6. Save and edit again collection block
      7. Try to select a new location 

       

      Result

      UDW disappear and in the dev console, we can see the error:

      react-dom.production.min.js:125 TypeError: Cannot read properties of undefined (reading 'id')
          at ezplatform-admin-ui-udw-tabs-js.js:7518:28
          at Array.map (<anonymous>)
          at ezplatform-admin-ui-udw-tabs-js.js:7517:8
          at Bh (react-dom.production.min.js:126:456)
          at Dj (react-dom.production.min.js:162:476)
          at unstable_runWithPriority (react.production.min.js:25:260)
          at Da (react-dom.production.min.js:60:280)
          at xb (react-dom.production.min.js:162:231)
          at Te (react-dom.production.min.js:146:79)
          at react-dom.production.min.js:61:68 

      Expected

      Possibility to add a new item or delete an existing one to the list

       

      Note

      In JS some locations are undefined if we remove some location in the location list (so that the target is less than 50) and after this, we can select content again

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              mateusz.debinski@ibexa.co Mateusz Dębiński
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: