glpi-project / glpi-inventory-plugin

GLPI Inventory plugin
GNU Affero General Public License v3.0
46 stars 27 forks source link

Error in DevTools Console on /front/crontask.form.php #298

Closed kofe88 closed 1 year ago

kofe88 commented 1 year ago

Describe the bug

There is an error on the tasks page in the console, but it doesn't seem to affect anything (but this is not accurate)

image

To reproduce

Go to /front/crontask.php Go to the page with any task, for example /front/crontask.form.php?id=21 Open DevTools in Browser (F12)

JQMIGRATE: Migrate is installed with logging active, version 3.4.0
taskjobs.js?v=59a143f1a5d49e31a701e21817e0c6b173076867:212 Uncaught ReferenceError: d3 is not defined
    at taskjobs.js?v=59a143f1a5d49e31a701e21817e0c6b173076867:212:23
(anonymous) @ taskjobs.js?v=59a143f1a5d49e31a701e21817e0c6b173076867:212

Expected behavior

No

Operating system

Windows

GLPI Agent version

1.4

GLPI version

10.0.6

GLPIInventory plugin

1.1.0

Additional context

/plugins/glpiinventory/js/taskjobs.js?v=59a143f1a5d49e31a701e21817e0c6b173076867

trasher commented 1 year ago

Could you please try with https://github.com/glpi-project/glpi-inventory-plugin/pull/299

kofe88 commented 1 year ago

Could you please try with #299

@trasher Hi! Do I need to make these changes and reinstall the plugin?

trasher commented 1 year ago

Just apply changes and try again

kofe88 commented 1 year ago

@trasher Hi

I confirm that the problem has been solved.

image

trasher commented 1 year ago

Thanks for the feeback