This repository has been archived by the owner on Jan 9, 2023. It is now read-only.
Delete Vitals/ Delete Procedures Dialog box does not close #14
Labels
🐛bug
issue/pull request that documents/fixes a bug
When you delete a vitals or procedures, the dialog comes up, you press delete, but the dialog is not dismissed. If you update the visit, and cycle back to it, the vital was deleted.
In the case of procedures, the dialog is not dismissed, but you can see the record being removed on the screen underneath.
message from javascript error console for deleting a vital:
Rendering visits.vitals.delete with <hospitalrun@view:visits/vitals/delete::ember15770> Object {fullName: "view:visits.vitals.delete"} vendor.js:16672
Error: Nothing handled the action 'modalClose'. If you did handle the action, this error can be caused by returning true from an action handler in a controller, causing the action to bubble.
at new Error (native)
at Error.Ember.Error (http://beta.hospitalrun.io:3000/assets/vendor.js:14061:19)
at Object.triggerEvent (http://beta.hospitalrun.io:3000/assets/vendor.js:48744:11)
at trigger (http://beta.hospitalrun.io:3000/assets/vendor.js:47769:16)
at Object.Router.trigger (http://beta.hospitalrun.io:3000/assets/vendor.js:46598:9)
at Ember.Router.Ember.Object.extend.send (http://beta.hospitalrun.io:3000/assets/vendor.js:48249:25)
at Ember.ActionHandler.Ember.Mixin.create.send (http://beta.hospitalrun.io:3000/assets/vendor.js:31839:19)
at exports.default.AbstractDeleteController.extend.actions.notifyVitalsDelete (hospitalrun/visits/vitals/delete/controller.js:16:22)
at Ember.ActionHandler.Ember.Mixin.create.send (http://beta.hospitalrun.io:3000/assets/vendor.js:31823:37)
at eval (hospitalrun/controllers/abstract-delete-controller.js:20:26) vendor.js:16672
Error: Assertion Failed: Error: Nothing handled the action 'modalClose'. If you did handle the action, this error can be caused by returning true from an action handler in a controller, causing the action to bubble.
at new Error (native)
at Error.Ember.Error (http://beta.hospitalrun.io:3000/assets/vendor.js:14061:19)
at Object.Ember.assert (http://beta.hospitalrun.io:3000/assets/vendor.js:13224:11)
at Ember.RSVP.onerrorDefault (http://beta.hospitalrun.io:3000/assets/vendor.js:30338:13)
at Object.exports.default.trigger (http://beta.hospitalrun.io:3000/assets/vendor.js:22128:13)
at Promise._onerror (http://beta.hospitalrun.io:3000/assets/vendor.js:22852:16)
at publishRejection (http://beta.hospitalrun.io:3000/assets/vendor.js:23259:17)
at http://beta.hospitalrun.io:3000/assets/vendor.js:31531:7
at Object.DeferredActionQueues.flush (http://beta.hospitalrun.io:3000/assets/vendor.js:19278:24)
at Object.Backburner.end (http://beta.hospitalrun.io:3000/assets/vendor.js:19366:27) vendor.js:16672
Error: Assertion Failed: Error: Assertion Failed: Error: Nothing handled the action 'modalClose'. If you did handle the action, this error can be caused by returning true from an action handler in a controller, causing the action to bubble.
at new Error (native)
at Error.Ember.Error (http://beta.hospitalrun.io:3000/assets/vendor.js:14061:19)
at Object.Ember.assert (http://beta.hospitalrun.io:3000/assets/vendor.js:13224:11)
at Ember.RSVP.onerrorDefault (http://beta.hospitalrun.io:3000/assets/vendor.js:30338:13)
at Object.exports.default.trigger (http://beta.hospitalrun.io:3000/assets/vendor.js:22128:13)
at Promise._onerror (http://beta.hospitalrun.io:3000/assets/vendor.js:22852:16)
at publishRejection (http://beta.hospitalrun.io:3000/assets/vendor.js:23259:17)
at http://beta.hospitalrun.io:3000/assets/vendor.js:31531:7
at Object.DeferredActionQueues.flush (http://beta.hospitalrun.io:3000/assets/vendor.js:19278:24)
at Object.Backburner.end (http://beta.hospitalrun.io:3000/assets/vendor.js:19366:27) vendor.js:16672
UNCAUGHT ERROR IN APPLICATION: Error Occurred: Uncaught Error: Assertion Failed: Error: Assertion Failed: Error: Assertion Failed: Error: Nothing handled the action 'modalClose'. If you did handle the action, this error can be caused by returning true from an action handler in a controller, cau......e.; url:http://beta.hospitalrun.io:3000/assets/vendor.js; line:13224; colno:5; stack:Error: Assertion Failed: Error: Assertion Failed: Error: Assertion Failed: Error: Nothing handled the action 'modalClose'. If you did handle the action, this error can be caused by returning true from an action handler in a controller, causing the action to bubble.
at new Error (native)
at Error.Ember.Error (http://beta.hospitalrun.io:3000/assets/vendor.js:14061:19)
at Object.Ember.assert (http://beta.hospitalrun.io:3000/assets/vendor.js:13224:11)
at Ember.RSVP.onerrorDefault (http://beta.hospitalrun.io:3000/assets/vendor.js:30338:13)
at Object.exports.default.trigger (http://beta.hospitalrun.io:3000/assets/vendor.js:22128:13)
at Promise._onerror (http://beta.hospitalrun.io:3000/assets/vendor.js:22852:16)
at publishRejection (http://beta.hospitalrun.io:3000/assets/vendor.js:23259:17)
at http://beta.hospitalrun.io:3000/assets/vendor.js:31531:7
at Object.DeferredActionQueues.flush (http://beta.hospitalrun.io:3000/assets/vendor.js:19278:24)
at Object.Backburner.end (http://beta.hospitalrun.io:3000/assets/vendor.js:19366:27) hospitalrun/app.js:32
Uncaught Error: Assertion Failed: Error: Assertion Failed: Error: Assertion Failed: Error: Nothing handled the action 'modalClose'. If you did handle the action, this error can be caused by returning true from an action handler in a controller, cau......e. vendor.js:13224
DB Change
[Object, callee: (...), caller: (...)]
hospitalrun/initializers/configdb.js:74
The text was updated successfully, but these errors were encountered: