[SERVER-42001] Pipeline update $unset stage should accept single string Created: 28/Jun/19 Updated: 29/Oct/23 Resolved: 08/Jul/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.0-rc5, 4.3.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Asya Kamsky | Assignee: | Xin Hao Zhang (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | query-44-grooming | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Backport Requested: |
v4.2
|
||||||||||||
| Sprint: | Query 2019-07-15 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Currently if you try an update with $unset:"x" instead of accepting it as directive to unset field "x" it gives an error that it's expecting an array. This isn't consistent with other places where we implicitly assume that they meant [x]. |
| Comments |
| Comment by Githook User [ 25/Jul/19 ] |
|
Author: {'name': 'Xin Hao Zhang', 'email': 'xinhao.zhang@mongodb.com', 'username': 'xinhaoz'}Message: (cherry picked from commit 13434801be12a72d370147aed4c2ac194e658062) |
| Comment by Githook User [ 08/Jul/19 ] |
|
Author: {'name': 'Xin Hao Zhang', 'email': 'xinhao.zhang@mongodb.com', 'username': 'xinhaoz'}Message: |