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

Can't edit fields with null type

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 1.31.2
    • Affects Version/s: 1.31.1
    • Component/s: CRUD
    • Labels:
      None
    • Not Needed
    • Iteration Yonkers

      Problem Statement/Rationale

      What is going wrong? What action would you like the Engineering team to take?

      It seems that one cannot edit fields from NULL to String. The expected behavior would be that you can type whatever you want. This is a regression.

      Steps to Reproduce

      How could an engineer replicate the issue you’re reporting?

      • Create a document with a field set to null
      • Go edit the document
      • Change the type of the null field to String
      • Try to edit its value

      Expected Results

      What do you expect to happen?

      I can edit the value from "null" to the desired value.

      Actual Results

      What do you observe is happening?

      I can't edit the value.

      Additional Notes

      Any additional information that may be useful to include.

      Note from Max: It seems a general problem with how we handle null. For example, in a field set to null I can’t double click to edit the value, while in all the other fields I can.

            Assignee:
            sergey.petushkov@mongodb.com Sergey Petushkov
            Reporter:
            massimiliano.marcon@mongodb.com Massimiliano Marcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: