[DOCS-2167] Change in Error message for "Ambiguous field name" in query Created: 29/Oct/13  Updated: 11/Jan/17  Resolved: 30/Oct/13

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: mongodb-2.6
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Alvin Richards (Inactive) Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: 26qa, nqf
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 10 years, 16 weeks, 1 day ago

 Description   

Problem:
Change in the error code for the following query

db.s9.find( { "a" : "" } ).sort( { "d.1.a" : true } ).skip( 100 ).skip( 1 )

2.4.5

error: {
"$err" : "Ambiguous field name found in array (do not use numeric field names in embedded elements in an array), field: '1' for array: { 0: 1.0, 1: { 1: 0.0, d:

Unknown macro: { c}

}, 2: \"Do not seek to follow in the footsteps of the men of old; seek what they sought.\" }",
"code" : 15855
}

2.5.4-Pre

error: {
"$err" : "Ambiguous field name found in array (do not use numeric field names in embedded elements in an array), field: '1' for array: { 0: 1.0, 1: { 1: 0.0, d:

Unknown macro: { c}

}, 2: \"Do not seek to follow in the footsteps of the men of old; seek what they sought.\" }",
"code" : 16746
}


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