[CDRIVER-1576] New error code for unrecognized pipeline operator Created: 04/Oct/16  Updated: 19/Oct/16  Resolved: 04/Oct/16

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.5.0

Type: Bug Priority: Major - P3
Reporter: Hannes Magnusson Assignee: Hannes Magnusson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

/Collection/aggregate is failing in currently nightly builds due to changed error code we are asserting.

See SERVER-25038

  "results": [
lt-test-libmongoc: tests/test-mongoc-collection.c:2477: test_aggregate: Assertion `error.code == 16436' failed.
 
Program received signal SIGABRT, Aborted.
0x00007ffff6b12418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) f 4
#4  0x0000000000437d9f in test_aggregate () at tests/test-mongoc-collection.c:2477
2477	   ASSERT (error.code == 16436);
(gdb) p error
$1 = {
  domain = 5, 
  code = 40324, 
  message =     "Unrecognized pipeline stage name: '$asdf'", '\000' <repeats 462 times>
}



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

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-1576 New error code for unrecognized pipeline operator
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/ac15bd45abf0628a918f867c7f1738076a4352f8

Generated at Wed Feb 07 21:12:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.