Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-4509

Table view row is not updated properly when editing fields

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.26.1
    • Affects Version/s: 1.23.0
    • Component/s: Table View
    • Labels:
      None
    • 5
    • Not Needed
    • Iteration Watermelon, Iteration Xylocarpus Granatum

      Problem Description

      When working in the table view in Compass and editing a document, neither the row itself nor the table cells are properly updated to reflect my changes before I click on "Update".

      Steps to Reproduce

      1. Open a collection and switch to table view
      2. Double-click on any editable field of a document and change the value
      3. Hit Enter or edit any other field

      Expected Results

      1. The cell shows the updated content and is highlighted in yellow to visually show the change
      2. The row action buttons at the end of the row are not visible anymore as the row is being edited

      Actual Results

      1. The cell shows the old content and it's not clear that it was modified
      2. The row action buttons are still visible

      Additional Notes

      However, when adding a new field after editing a value, the refresh of the row magically happens and the expected results now appear.

      See attached GIF.

        1. table-view-not-updated.gif
          3.66 MB
          Michael Rose

            Assignee:
            rhys.howell@mongodb.com Rhys Howell
            Reporter:
            michael.rose@mongodb.com Michael Rose (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: