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

Measurement: Switching between types and units in Content Type edit views causes a JS error

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 4.1.0, 4.1.x-dev
    • 4.1.0-rc1
    • Content

    Description

      Steps to reproduce

      1. Try creating a Content Type with a Measurement Field Type with different than default (first on the list) Type and unit

      Expected result: form does not behave correctly, in JS console an error is visible:

      Uncaught TypeError: Cannot set properties of null (setting 'selected')
          at Dropdown.onSelect (ibexa-admin-ui-layout-js.js:20599:85)
          at Dropdown.onOptionClick (ibexa-admin-ui-layout-js.js:20667:21)
      

      Actual result: type causes proper unit list to load and can be saved properly.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              andrew.longosz@ibexa.co Andrew Longosz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: