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

[Content type] JS exception occurs while taxonomy entry field is moved to metadata

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 4.4.2
    • 4.3.x-dev, 4.4.x-dev, 4.4.1, 4.3.4
    • None

    Description

      Steps to reproduce:

      1. Log in to back office.
      2. Go to Content / Content structure.
      3. Edit content Article.
      4. Add 'Taxonomy Entry Assignment' to 'Field definition' section.
      5. Add 'Metadata'.
      6. Move 'Taxonomy Entry Assignment' field from 'Field definition' to 'Metadata' by drag & drop.
      7. Verify web browser console output.

      Actual result:

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

      JS exception occurs while taxonomy entry field is moved to metadata.

      Uncaught Error: Instance for this DOM element already exists!
          at Object.setInstance (ibexa-admin-ui-layout-js.js:66287:13)
          at new Dropdown (ibexa-admin-ui-layout-js.js:64846:37)
          at ibexa-admin-ui-content-type-edit-js.js:163:22
          at NodeList.forEach (<anonymous>)
          at attachFieldDefinitionNodeEvents (ibexa-admin-ui-content-type-edit-js.js:162:15)
          at insertFieldDefinitionNode (ibexa-admin-ui-content-type-edit-js.js:188:5)
          at addField (ibexa-admin-ui-content-type-edit-js.js:246:27)
          at FieldDefinitionDraggable.onDrop (ibexa-admin-ui-content-type-edit-js.js:467:11) 

      Expected result:

      No exceptions 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:
                Resolved: