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

Js console: Uncaught TypeError: ajax_request.profile.sql is undefined #17527

Closed
orthagh opened this issue Jul 16, 2024 · 1 comment · Fixed by #18106
Closed

Js console: Uncaught TypeError: ajax_request.profile.sql is undefined #17527

orthagh opened this issue Jul 16, 2024 · 1 comment · Fixed by #18106
Assignees

Comments

@orthagh
Copy link
Contributor

orthagh commented Jul 16, 2024

Uncaught TypeError: ajax_request.profile.sql is undefined
    requestAjaxDebugData Toolbar.vue:334
    jQuery 6
    <anonymous> base.js:379
    prop base.js:181
    requestAjaxDebugData Toolbar.vue:326
    setup Toolbar.vue:226
    jQuery 7
    <anonymous> base.js:379
    prop base.js:181
    <anonymous> ticket.form.php:53
    jQuery 13
    Webpack 4
[Toolbar.vue:334:20](webpack://glpi/glpi/js/src/vue/Debug/Toolbar.vue)
@cconard96 cconard96 self-assigned this Jul 18, 2024
@cconard96
Copy link
Contributor

I cannot recreate the issue. As far as I can tell, any debug data found and returned by ajax/debug.php will contain a sql property with a queries array even when there are no queries logged.

cconard96 added a commit to cconard96/glpi that referenced this issue Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants