You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I have multiple indexes in order (1, 2, 3) if I use the UI to delete them and delete number 2 then number 3 the app will crash. It will not if I delete number 3 first then 2.
Here for example delete category_name_1 first then try to delete category_name_text
Error message
POST /collection/Komodo%20local/db/error_category_rule/drop_index 200 15.685 ms - 36
/home/jonh/adminmongo/node_modules/mongodb/lib/utils.js:123
process.nextTick(function() { throw err; });
^
TypeError: Cannot read property 'name' of undefined
at /home/jonh/adminmongo/routes/collection.js:185:80
at handleCallback (/home/jonh/adminmongo/node_modules/mongodb/lib/utils.js:120:56)
at /home/jonh/adminmongo/node_modules/mongodb/lib/db.js:1585:21
at handleCallback (/home/jonh/adminmongo/node_modules/mongodb/lib/utils.js:120:56)
at /home/jonh/adminmongo/node_modules/mongodb/lib/cursor.js:861:16
at handleCallback (/home/jonh/adminmongo/node_modules/mongodb-core/lib/cursor.js:171:5)
at setCursorDeadAndNotified (/home/jonh/adminmongo/node_modules/mongodb-core/lib/cursor.js:505:3)
at nextFunction (/home/jonh/adminmongo/node_modules/mongodb-core/lib/cursor.js:660:7)
at CommandCursor.Cursor.next [as _next] (/home/jonh/adminmongo/node_modules/mongodb-core/lib/cursor.js:701:3)
at fetchDocs (/home/jonh/adminmongo/node_modules/mongodb/lib/cursor.js:857:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node app.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/jonh/.npm/_logs/2020-11-09T20_14_44_752Z-debug.log
npm failed, show the debug log of the indeed npm wrapper:
command executed: npm start
command npm start
The text was updated successfully, but these errors were encountered:
When I have multiple indexes in order (1, 2, 3) if I use the UI to delete them and delete number 2 then number 3 the app will crash. It will not if I delete number 3 first then 2.
Here for example delete category_name_1 first then try to delete category_name_text
Error message
The text was updated successfully, but these errors were encountered: