Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Intermittant error adding vitals #15

Closed
mnorbeck opened this issue Sep 1, 2014 · 2 comments
Closed

Intermittant error adding vitals #15

mnorbeck opened this issue Sep 1, 2014 · 2 comments
Assignees
Labels
🐛bug issue/pull request that documents/fixes a bug

Comments

@mnorbeck
Copy link

mnorbeck commented Sep 1, 2014

Not sure exactly how to reproduce this, but here is an error log when trying to add vitals. In this case, I entered the value 2 for all fields:

rror: Assertion Failed: The content property of DS.PromiseArray should be set before modifying it
at new Error (native)
at Error.Ember.Error (http:https://beta.hospitalrun.io:3000/assets/vendor.js:14061:19)
at Object.Ember.assert (http:https://beta.hospitalrun.io:3000/assets/vendor.js:13224:11)
at Ember.ArrayProxy.Ember.Object.extend._replace (http:https://beta.hospitalrun.io:3000/assets/vendor.js:32811:11)
at Ember.ArrayProxy.Ember.Object.extend._insertAt (http:https://beta.hospitalrun.io:3000/assets/vendor.js:32826:10)
at Ember.ArrayProxy.Ember.Object.extend.pushObject (http:https://beta.hospitalrun.io:3000/assets/vendor.js:32870:10)
at superWrapper as pushObject
at Ember.MutableArray.Ember.Mixin.create.addObject (http:https://beta.hospitalrun.io:3000/assets/vendor.js:31199:35)
at exports.default.AbstractEditController.extend.updateList (hospitalrun/visits/edit/controller.js:110:22)
at exports.default.AbstractEditController.extend.actions.addVitals (hospitalrun/visits/edit/controller.js:122:22) vendor.js:16672
Error: Assertion Failed: Error: Assertion Failed: The content property of DS.PromiseArray should be set before modifying it
at new Error (native)
at Error.Ember.Error (http:https://beta.hospitalrun.io:3000/assets/vendor.js:14061:19)
at Object.Ember.assert (http:https://beta.hospitalrun.io:3000/assets/vendor.js:13224:11)
at Ember.RSVP.onerrorDefault (http:https://beta.hospitalrun.io:3000/assets/vendor.js:30338:13)
at Object.exports.default.trigger (http:https://beta.hospitalrun.io:3000/assets/vendor.js:22128:13)
at Promise._onerror (http:https://beta.hospitalrun.io:3000/assets/vendor.js:22852:16)
at publishRejection (http:https://beta.hospitalrun.io:3000/assets/vendor.js:23259:17)
at http:https://beta.hospitalrun.io:3000/assets/vendor.js:31531:7
at Object.DeferredActionQueues.flush (http:https://beta.hospitalrun.io:3000/assets/vendor.js:19278:24)
at Object.Backburner.end (http:https://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: The content property of DS.PromiseArray should be set before modifying it; url:http:https://beta.hospitalrun.io:3000/assets/vendor.js; line:13224; colno:5; stack:Error: Assertion Failed: Error: Assertion Failed: Error: Assertion Failed: The content property of DS.PromiseArray should be set before modifying it
at new Error (native)
at Error.Ember.Error (http:https://beta.hospitalrun.io:3000/assets/vendor.js:14061:19)
at Object.Ember.assert (http:https://beta.hospitalrun.io:3000/assets/vendor.js:13224:11)
at Ember.RSVP.onerrorDefault (http:https://beta.hospitalrun.io:3000/assets/vendor.js:30338:13)
at Object.exports.default.trigger (http:https://beta.hospitalrun.io:3000/assets/vendor.js:22128:13)
at Promise._onerror (http:https://beta.hospitalrun.io:3000/assets/vendor.js:22852:16)
at publishRejection (http:https://beta.hospitalrun.io:3000/assets/vendor.js:23259:17)
at http:https://beta.hospitalrun.io:3000/assets/vendor.js:31531:7
at Object.DeferredActionQueues.flush (http:https://beta.hospitalrun.io:3000/assets/vendor.js:19278:24)
at Object.Backburner.end (http:https://beta.hospitalrun.io:3000/assets/vendor.js:19366:27) hospitalrun/app.js:32
Uncaught Error: Assertion Failed: Error: Assertion Failed: Error: Assertion Failed: The content property of DS.PromiseArray should be set before modifying it vendor.js:13224
DB Change
[Object, callee: (...), caller: (...)]

@jkleinsc
Copy link
Member

jkleinsc commented Sep 1, 2014

Thanks for the error log. I can identify the issue from that.

Sent from my mobile device

On Sep 1, 2014, at 1:22 PM, Mel Norbeck [email protected] wrote:

Not sure exactly how to reproduce this, but here is an error log:

rror: Assertion Failed: The content property of DS.PromiseArray should be set before modifying it
at new Error (native)
at Error.Ember.Error (http:https://beta.hospitalrun.io:3000/assets/vendor.js:14061:19)
at Object.Ember.assert (http:https://beta.hospitalrun.io:3000/assets/vendor.js:13224:11)
at Ember.ArrayProxy.Ember.Object.extend.replace (http:https://beta.hospitalrun.io:3000/assets/vendor.js:32811:11)
at Ember.ArrayProxy.Ember.Object.extend.insertAt (http:https://beta.hospitalrun.io:3000/assets/vendor.js:32826:10)
at Ember.ArrayProxy.Ember.Object.extend.pushObject (http:https://beta.hospitalrun.io:3000/assets/vendor.js:32870:10)
at superWrapper as pushObject
at Ember.MutableArray.Ember.Mixin.create.addObject (http:https://beta.hospitalrun.io:3000/assets/vendor.js:31199:35)
at __exports.default.AbstractEditController.extend.updateList (hospitalrun/visits/edit/controller.js:110:22)
at exports.default.AbstractEditController.extend.actions.addVitals (hospitalrun/visits/edit/controller.js:122:22) vendor.js:16672
Error: Assertion Failed: Error: Assertion Failed: The content property of DS.PromiseArray should be set before modifying it
at new Error (native)
at Error.Ember.Error (http:https://beta.hospitalrun.io:3000/assets/vendor.js:14061:19)
at Object.Ember.assert (http:https://beta.hospitalrun.io:3000/assets/vendor.js:13224:11)
at Ember.RSVP.onerrorDefault (http:https://beta.hospitalrun.io:3000/assets/vendor.js:30338:13)
at Object.exports.default.trigger (http:https://beta.hospitalrun.io:3000/assets/vendor.js:22128:13)
at Promise.onerror (http:https://beta.hospitalrun.io:3000/assets/vendor.js:22852:16)
at publishRejection (http:https://beta.hospitalrun.io:3000/assets/vendor.js:23259:17)
at http:https://beta.hospitalrun.io:3000/assets/vendor.js:31531:7
at Object.DeferredActionQueues.flush (http:https://beta.hospitalrun.io:3000/assets/vendor.js:19278:24)
at Object.Backburner.end (http:https://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: The content property of DS.PromiseArray should be set before modifying it; url:http:https://beta.hospitalrun.io:3000/assets/vendor.js; line:13224; colno:5; stack:Error: Assertion Failed: Error: Assertion Failed: Error: Assertion Failed: The content property of DS.PromiseArray should be set before modifying it
at new Error (native)
at Error.Ember.Error (http:https://beta.hospitalrun.io:3000/assets/vendor.js:14061:19)
at Object.Ember.assert (http:https://beta.hospitalrun.io:3000/assets/vendor.js:13224:11)
at Ember.RSVP.onerrorDefault (http:https://beta.hospitalrun.io:3000/assets/vendor.js:30338:13)
at Object._exports.default.trigger (http:https://beta.hospitalrun.io:3000/assets/vendor.js:22128:13)
at Promise._onerror (http:https://beta.hospitalrun.io:3000/assets/vendor.js:22852:16)
at publishRejection (http:https://beta.hospitalrun.io:3000/assets/vendor.js:23259:17)
at http:https://beta.hospitalrun.io:3000/assets/vendor.js:31531:7
at Object.DeferredActionQueues.flush (http:https://beta.hospitalrun.io:3000/assets/vendor.js:19278:24)
at Object.Backburner.end (http:https://beta.hospitalrun.io:3000/assets/vendor.js:19366:27) hospitalrun/app.js:32
Uncaught Error: Assertion Failed: Error: Assertion Failed: Error: Assertion Failed: The content property of DS.PromiseArray should be set before modifying it vendor.js:13224
DB Change
[Object, callee: (...), caller: (...)]


Reply to this email directly or view it on GitHub.

@mnorbeck
Copy link
Author

mnorbeck commented Sep 1, 2014

Ok! I will be sure to watch the console from now on.

On Mon, Sep 1, 2014 at 2:59 PM, John Kleinschmidt [email protected]
wrote:

Thanks for the error log. I can identify the issue from that.

Sent from my mobile device

On Sep 1, 2014, at 1:22 PM, Mel Norbeck [email protected]
wrote:

Not sure exactly how to reproduce this, but here is an error log:

rror: Assertion Failed: The content property of DS.PromiseArray should
be set before modifying it
at new Error (native)
at Error.Ember.Error (
http:https://beta.hospitalrun.io:3000/assets/vendor.js:14061:19)
at Object.Ember.assert (
http:https://beta.hospitalrun.io:3000/assets/vendor.js:13224:11)
at Ember.ArrayProxy.Ember.Object.extend.replace (
http:https://beta.hospitalrun.io:3000/assets/vendor.js:32811:11)
at Ember.ArrayProxy.Ember.Object.extend.insertAt (
http:https://beta.hospitalrun.io:3000/assets/vendor.js:32826:10)
at Ember.ArrayProxy.Ember.Object.extend.pushObject (
http:https://beta.hospitalrun.io:3000/assets/vendor.js:32870:10)
at superWrapper as pushObject
at Ember.MutableArray.Ember.Mixin.create.addObject (
http:https://beta.hospitalrun.io:3000/assets/vendor.js:31199:35)
at __exports.default.AbstractEditController.extend.updateList
(hospitalrun/visits/edit/controller.js:110:22)
at exports.default.AbstractEditController.extend.actions.addVitals
(hospitalrun/visits/edit/controller.js:122:22) vendor.js:16672
Error: Assertion Failed: Error: Assertion Failed: The content property
of DS.PromiseArray should be set before modifying it
at new Error (native)
at Error.Ember.Error (
http:https://beta.hospitalrun.io:3000/assets/vendor.js:14061:19)
at Object.Ember.assert (
http:https://beta.hospitalrun.io:3000/assets/vendor.js:13224:11)
at Ember.RSVP.onerrorDefault (
http:https://beta.hospitalrun.io:3000/assets/vendor.js:30338:13)
at Object.exports.default.trigger (
http:https://beta.hospitalrun.io:3000/assets/vendor.js:22128:13)
at Promise.onerror (
http:https://beta.hospitalrun.io:3000/assets/vendor.js:22852:16)
at publishRejection (
http:https://beta.hospitalrun.io:3000/assets/vendor.js:23259:17)
at http:https://beta.hospitalrun.io:3000/assets/vendor.js:31531:7
at Object.DeferredActionQueues.flush (
http:https://beta.hospitalrun.io:3000/assets/vendor.js:19278:24)
at Object.Backburner.end (
http:https://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: The content
property of DS.PromiseArray should be set before modifying it; url:
http:https://beta.hospitalrun.io:3000/assets/vendor.js; line:13224; colno:5;
stack:Error: Assertion Failed: Error: Assertion Failed: Error: Assertion
Failed: The content property of DS.PromiseArray should be set before
modifying it
at new Error (native)
at Error.Ember.Error (
http:https://beta.hospitalrun.io:3000/assets/vendor.js:14061:19)
at Object.Ember.assert (
http:https://beta.hospitalrun.io:3000/assets/vendor.js:13224:11)
at Ember.RSVP.onerrorDefault (
http:https://beta.hospitalrun.io:3000/assets/vendor.js:30338:13)
at Object._exports.default.trigger (
http:https://beta.hospitalrun.io:3000/assets/vendor.js:22128:13)
at Promise._onerror (
http:https://beta.hospitalrun.io:3000/assets/vendor.js:22852:16)
at publishRejection (
http:https://beta.hospitalrun.io:3000/assets/vendor.js:23259:17)
at http:https://beta.hospitalrun.io:3000/assets/vendor.js:31531:7
at Object.DeferredActionQueues.flush (
http:https://beta.hospitalrun.io:3000/assets/vendor.js:19278:24)
at Object.Backburner.end (
http:https://beta.hospitalrun.io:3000/assets/vendor.js:19366:27)
hospitalrun/app.js:32
Uncaught Error: Assertion Failed: Error: Assertion Failed: Error:
Assertion Failed: The content property of DS.PromiseArray should be set
before modifying it vendor.js:13224
DB Change
[Object, callee: (...), caller: (...)]


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#15 (comment).

@jkleinsc jkleinsc added the bug label Sep 2, 2014
@jkleinsc jkleinsc self-assigned this Sep 2, 2014
jkleinsc added a commit that referenced this issue Sep 2, 2014
MatthewDorner added a commit that referenced this issue Oct 14, 2018
Merge master from upstream
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛bug issue/pull request that documents/fixes a bug
Projects
None yet
Development

No branches or pull requests

2 participants