glpi-project / glpi

GLPI is a Free Asset and IT Management Software package, Data center management, ITIL Service Desk, licenses tracking and software auditing.
https://glpi-project.org
GNU General Public License v3.0
4.21k stars 1.28k forks source link

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

Open orthagh opened 3 months ago

orthagh commented 3 months ago
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 commented 3 months ago

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.