• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug in inc/taskjobstate.class.php [9.5.0+1.0]
#1
How to reproduce shown in the screenshot in the attachment (https://github.com/fusioninventory/fusio...ssues/3020)
How to fix:
in file inc/taskjobstate.class.php line 752-758

Code:
      $stateColors = [
        PluginFusioninventoryTaskjoblog::TASK_PREPARED => '#efefef',
        PluginFusioninventoryTaskjoblog::TASK_RUNNING  => '#aaaaff',
        PluginFusioninventoryTaskjoblog::TASK_STARTED  => '#aaaaff',
        PluginFusioninventoryTaskjoblog::TASK_OK      => '#aaffaa',
        PluginFusioninventoryTaskjoblog::TASK_ERROR    => '#ff0000',
      ];

for example it should be like this:

Code:
      $stateColors = [
        PluginFusioninventoryTaskjoblog::TASK_PREPARED => '#efefef',
        PluginFusioninventoryTaskjoblog::TASK_RUNNING  => '#aaaaff',
        PluginFusioninventoryTaskjoblog::TASK_STARTED  => '#aaaaff',
        PluginFusioninventoryTaskjoblog::TASK_OK      => '#aaffaa',
        PluginFusioninventoryTaskjoblog::TASK_ERROR    => '#ff0000',
    PluginFusioninventoryTaskjoblog::TASK_INFO     => '#8CABDB',
      ];


Attached Files Thumbnail(s)
   
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)