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

Inventory reports throw exception e.name.indexOf is not a function #454

Closed
jkleinsc opened this issue May 11, 2016 · 0 comments
Closed

Inventory reports throw exception e.name.indexOf is not a function #454

jkleinsc opened this issue May 11, 2016 · 0 comments
Labels
🐛bug issue/pull request that documents/fixes a bug

Comments

@jkleinsc
Copy link
Member

Expected behavior:
Inventory reports run without throwing an error
Actual behavior:
Inventory reports throw the following exception:

TypeError: e.name.indexOf is not a function
    at .<anonymous> (https://niger.hospitalrun.io/assets/hospitalrun-9de08bdc299938d9a83d5f8656cbfdfb.js:12:11475)
    at Array.forEach (native)
    at e.default.t.default.extend._addLocationColumn (https://niger.hospitalrun.io/assets/hospitalrun-9de08bdc299938d9a83d5f8656cbfdfb.js:12:11436)
    at e.default.t.default.Controller.extend._addReportRow (https://niger.hospitalrun.io/assets/hospitalrun-9de08bdc299938d9a83d5f8656cbfdfb.js:6:403)
    at e.default.t.default.extend._addReportRow (https://niger.hospitalrun.io/assets/hospitalrun-9de08bdc299938d9a83d5f8656cbfdfb.js:12:11821)
    at r [as _addReportRow] (https://niger.hospitalrun.io/assets/vendor-785885e5429dcaa0e2d5c60c80aeae45.js:10:4783)
    at .<anonymous> (https://niger.hospitalrun.io/assets/hospitalrun-9de08bdc299938d9a83d5f8656cbfdfb.js:12:14550)
    at Array.forEach (native)
    at .<anonymous> (https://niger.hospitalrun.io/assets/hospitalrun-9de08bdc299938d9a83d5f8656cbfdfb.js:12:14525)
    at Array.forEach (native)

Steps to reproduce:
Go to inventory reports, run a report such as detailed expenses over a period where transactions have occurred.
OS and Browser:
All

@jkleinsc jkleinsc added 🐛bug issue/pull request that documents/fixes a bug Inventory labels May 11, 2016
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

1 participant