-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: mongodb-2.6
-
Component/s: manual
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
}