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

Inventory will not render/load on beta site #17

Closed
mnorbeck opened this issue Sep 3, 2014 · 6 comments
Closed

Inventory will not render/load on beta site #17

mnorbeck opened this issue Sep 3, 2014 · 6 comments
Labels
🐛bug issue/pull request that documents/fixes a bug

Comments

@mnorbeck
Copy link

mnorbeck commented Sep 3, 2014

On the beta site inventory page will not load. I believe I corrupted the data. I was testing adding purchases, then adjusting locations, (transfers) then editing the purchases. I was seeing some inconsistent behavior, and getting an error message about the quantities not adding up properly. In attempting to reproduce from a known starting point, exited the app (closed tab in Chrome) then re-entered...Inventory will no longer load.

Saw this error in console at app start.

Document was loaded from Application Cache with manifest http:https://beta.hospitalrun.io:3000/manifest.appcache beta.hospitalrun.io:3000/:1
Application Cache Checking event beta.hospitalrun.io:3000/:1
Application Cache NoUpdate event beta.hospitalrun.io:3000/:1
Uncaught TypeError: undefined is not a function beta.hospitalrun.io:3000/assets/vendor-4c9160511af0acd493b12aa4b132041b.js:28
DB Change
Arguments[1]

@mnorbeck mnorbeck added the bug label Sep 3, 2014
@mnorbeck
Copy link
Author

mnorbeck commented Sep 3, 2014

I notice that edit or adjust an inventory purchase does not show as a capability in user_sessions.js.

@tangollama
Copy link
Member

Awesome! Mel broke it. :)

Typed or dictated imperfectly on my iPhone (717.385.9970)

On Sep 3, 2014, at 6:10 AM, Mel Norbeck [email protected] wrote:

On the beta site inventory page will not load. I believe I corrupted the data. I was testing adding purchases, then adjusting locations, (transfers) then editing the purchases. I was seeing some inconsistent behavior, and getting an error message about the quantities not adding up properly. In attempting to reproduce from a known starting point, exited the app (closed tab in Chrome) then re-entered...Inventory will no longer load.


Reply to this email directly or view it on GitHub.

@mnorbeck
Copy link
Author

mnorbeck commented Sep 3, 2014

Not my intent!! Just trying to get coverage!

Mel

Sent from my iPhone

On Sep 3, 2014, at 6:56 AM, Joel Worrall [email protected] wrote:

Awesome! Mel broke it. :)

Typed or dictated imperfectly on my iPhone (717.385.9970)

On Sep 3, 2014, at 6:10 AM, Mel Norbeck [email protected] wrote:

On the beta site inventory page will not load. I believe I corrupted the data. I was testing adding purchases, then adjusting locations, (transfers) then editing the purchases. I was seeing some inconsistent behavior, and getting an error message about the quantities not adding up properly. In attempting to reproduce from a known starting point, exited the app (closed tab in Chrome) then re-entered...Inventory will no longer load.


Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHub.

@jkleinsc
Copy link
Member

jkleinsc commented Sep 3, 2014

I think I found the bad data that is causing the issue. Mel, do you remember if you deleted a purchase from the inventory item 3 inch bandage? It looks like the delete didn't completely take, so there's definitely a bug there, but I wanted to verify what may have caused the bad data.

@jkleinsc
Copy link
Member

jkleinsc commented Sep 3, 2014

I fixed the broken data and beta is now properly showing the inventory items.
@mnorbeck if you can try to reproduce, that would be great.

@jkleinsc
Copy link
Member

jkleinsc commented Sep 3, 2014

@mnorbeck This should now be fixed. Instead of using the existing inventory items, I would recommend creating new items for testing as existing items may still have some bad data in them. At some point we may want to wipe the database and start from scratch as well.

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

3 participants