Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Javascript error - #17

Closed
mohierf opened this issue Feb 6, 2018 · 0 comments · Fixed by #18
Closed

Javascript error - #17

mohierf opened this issue Feb 6, 2018 · 0 comments · Fixed by #18

Comments

@mohierf
Copy link
Contributor

mohierf commented Feb 6, 2018

When some fields contain integer values:

Panel data error: 
TypeError: data[3][idx][kkey][eval(...).number].replace is not a function
Stack trace:
execute/GlpiAppDatasource</GlpiAppDatasource.prototype.promiseMergeTargetResult/<@http://localhost:3000/public/plugins/ddurieux-glpi-app/datasource/datasource.js:255:59
u@http://localhost:3000/public/build/vendor.2305a8e1d478628b1297.js:43:68722
c/<@http://localhost:3000/public/build/vendor.2305a8e1d478628b1297.js:43:69127
$digest@http://localhost:3000/public/build/vendor.2305a8e1d478628b1297.js:43:74824
$apply@http://localhost:3000/public/build/vendor.2305a8e1d478628b1297.js:43:76636
M/a<@http://localhost:3000/public/build/vendor.2305a8e1d478628b1297.js:43:72695
i@http://localhost:3000/public/build/vendor.2305a8e1d478628b1297.js:43:21868
mt/c.defer/n<@http://localhost:3000/public/build/vendor.2305a8e1d478628b1297.js:43:23332
metrics_panel_ctrl.ts:171:6
mohierf added a commit to mohierf/glpi_app_grafana that referenced this issue Feb 6, 2018
Dev only - Add some console debug log - add an hidden option to activate the debug log
Fix ddurieux#17 - error when a returned field contains an integer value (not string formated)
Fix ddurieux#16 - fix Grunt error
Update readme - to be completed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant