Description
There are 3 error message typos in src/mongo/db/ops/modifier_push.cpp on master:
320 str::stream() << "The value for $slice must "
|
321 "a be a numeric value not "
|
322 << typeName(sliceElem.type()));
|
323 }
|
"must a be" is ungrammatical
345 if (!positionElem.isNumber()) {
|
346 return Status(ErrorCodes::BadValue,
|
347 str::stream() << "The value for $position must "
|
348 "a be a positive numeric value not "
|
349 << typeName(positionElem.type()));
|
350 }
|
"must a be" is ungrammatical
489 return Status(ErrorCodes::BadValue,
|
490 str::stream() << "The field '" << _fieldRef.dottedField() << "'"
|
491 << " must be and array but is of type "
|
492 << typeName(_preparedState->elemFound.getType())
|
493 << " in document " << idElem.toString() );
|
"must be and array" should probably be "must be an array"
Version:
$ git rev-parse HEAD
2307d854227d1929e8a1c5a89fac0e22688325e1
Attachments
Issue Links
- is related to
-
SERVER-11366 improve new update() error strings
-
- Closed
-