[SERVER-49387] Poorly worded parsing error messages for match expressions Created: 09/Jul/20  Updated: 29/Oct/23  Resolved: 04/Oct/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 7.0.0
Fix Version/s: 7.2.0-rc0

Type: Improvement Priority: Minor - P4
Reporter: Oleg Pudeyev (Inactive) Assignee: Carlos Alonso Pérez
Resolution: Fixed Votes: 0
Labels: neweng, qopt-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by COMPASS-7296 Investigate changes in SERVER-49387: ... Closed
Documented
is documented by DOCS-16417 Investigate changes in SERVER-49387: ... Closed
Related
related to MONGOID-4892 Test embedded matchers with wrong ope... Closed
Assigned Teams:
Query Optimization
Backwards Compatibility: Fully Compatible
Sprint: QO 2023-10-02, QO 2023-10-16
Participants:

 Description   

$and with argument that is not an array:

       $and must be an array (2) 

Suggest "$and argument must be an array" instead.

$not with an empty hash argument:

       $not cannot be empty (2)

Suggest "$not argument cannot be an empty document" instead.



 Comments   
Comment by Githook User [ 04/Oct/23 ]

Author:

{'name': 'Carlos Alonso', 'email': 'c.alonso@mongodb.com', 'username': 'calonso'}

Message: SERVER-49387 Fix error messages
Branch: master
https://github.com/mongodb/mongo/commit/52c30e9b7a802bd4148490ad80bcf71a71811a4b

Generated at Thu Feb 08 05:19:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.