[COMPASS-4042] Stack traces in compass-crud Created: 16/Dec/19  Updated: 29/Oct/23  Resolved: 15/Apr/20

Status: Closed
Project: Compass
Component/s: CRUD
Affects Version/s: None
Fix Version/s: 1.21.0

Type: Bug Priority: Major - P3
Reporter: Lucas Hrabovsky (Inactive) Assignee: Lucas Hrabovsky (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to COMPASS-4200 Dropping a collection leaves the coll... Closed
Sprint: Iteration Tarantula, Iteration Urial, Iteration Avocado, Iteration Blackberry

 Description   

Noticed these 2 stack traces testing master.

onInstanceRefreshed (/Users/lucas/compass/node_modules/@mongodb-js/compass-crud/lib/index.js:1020)
(anonymous) (/Users/lucas/compass/node_modules/@mongodb-js/compass-crud/lib/index.js:1020)
emit (/Users/lucas/compass/node_modules/eventemitter3/index.js:150)
emit (/Users/lucas/compass/node_modules/hadron-app-registry/lib/app-registry.js:295)
success (/Users/lucas/compass/node_modules/@mongodb-js/compass-app-stores/lib/index.js:1)
options.success (/Users/lucas/compass/node_modules/mongodb-instance-model/lib/extended-model.js:94)
onClientSuccess (/Users/lucas/compass/node_modules/mongodb-instance-model/lib/extended-model.js:112)
requestAnimationFrame (async)
module.exports (/Users/lucas/compass/node_modules/raf/index.js:64)
done (/Users/lucas/compass/node_modules/mongodb-instance-model/lib/extended-model.js:111)
getInstance (/Users/lucas/compass/node_modules/mongodb-data-service/lib/native-client.js:731)

/Users/lucas/compass/node_modules/prop-types/checkPropTypes.js:20 Warning: Failed prop type: The prop `status` is marked as required in `DocumentList`, but its value is `undefined`.
    in DocumentList (created by ConnectedDocumentList)
    in ConnectedDocumentList



 Comments   
Comment by Lucas Hrabovsky (Inactive) [ 15/Apr/20 ]

Fixed and backported to 1.21-releases https://github.com/mongodb-js/compass/commit/ec5208b0ca033d599cdfa6c81049d580b0b59390

Comment by Githook User [ 15/Apr/20 ]

Author:

{'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}

Message: fix: COMPASS-4042: handle null state on instance refresh (#1938)
Branch: 1.21-releases
https://github.com/mongodb-js/compass/commit/ec5208b0ca033d599cdfa6c81049d580b0b59390

Comment by Githook User [ 15/Apr/20 ]

Author:

{'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}

Message: fix: COMPASS-4042: handle null state on instance refresh (#1938)
Branch: master
https://github.com/mongodb-js/compass/commit/cf5e66c3bd33f1e6111a8019b787ce521d14f9a9

Comment by Githook User [ 15/Apr/20 ]

Author:

{'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}

Message: fix: COMPASS-4042: handle null state on instance refresh
Branch: fix-instance-refresh
https://github.com/mongodb-js/compass/commit/56dbe5101913edc3ff2466b6dffe4d03be6c600f

Generated at Wed Feb 07 22:35:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.