Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-10296

Permit $unset and $rename to manipulate objects with invalid field names (e.g. containing leading $ or .)

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.2
    • Affects Version/s: None
    • Component/s: Write Ops
    • None

      The new update framework is more restrictive in what it will admit as a valid field name. Many invalid field names were not caught by the old framework. We still would, however, like to allow users to repair bad field names by using the $unset and $rename operators. To do so, we will need to weaken the field name restrictions enforced for $unset entirely, and relax the 'source' field name restrictions for $rename.

      Marking as QA required since we should validate that we can repair data with invalid field names via $unset and $rename.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: