Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-1491

Fix item-changed listener on nuxeo-data-table not triggering when adding entries from nuxeo-data-table-form

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.4.0
    • Fix Version/s: HOTFIX_10.10_2.4, 3.0.x
    • Component/s: Widgets
    • Tags:
    • Backlog priority:
      700
    • Sprint:
      UI - 2023-01, UI - 2023-2, UI - 2023-3, UI COOLDOWN - 2023-01, UI COOLDOWN - 2023-2, UI COOLDOWN - 2023-3

      Description

      Steps to reproduce:

      1. Set up a Studio project with a custom Document type including a multi-valued String schema property. Create and Edit layouts should include a nuxeo-data-table with a nuxeo-data-table-form for adding entries to the property.
      2. In Web UI, create/edit an instance of the doctype to view the corresponding layout.
      3. In the browser dev tools Sources tab, search for nuxeo-data-table among the source javascript and set a breakpoint at the _itemChanged event listener function.
      4. In the create/edit layout, define a new entry to the multi-valued String property and click "OK" to add the entry to the table.

      Expected result: breakpoint at _itemChanged is triggered.

      Actual result: breakpoint at _itemChanged is not triggered - changes in data table items array are not listened for.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 4 days
                1w 4d