SOLVED Checkboxes in Task Management not working as expected

  • Moderator

    I really hope I am able to properly describe what I am seeing here. This is current trunk (maybe two days old but I am pretty sure we have this in the latest as well).

    I go to Task Management where I have two active tasks. I select those two tasks by clicking the most upper checkbox in the header column. Now I have all three checked. When I try to hit “Cancel selected tasks” it does not do anything - as if I didn’t have anything selected. Now I wait for a few seconds, page auto refreshes, checkbox in the header colums clears, checkboxes for the two tasks stay checked and now I can cancel the tasks! If I check both tasks one by one I can cancel straight away.

    I see the same thing in “Active Multicast Tasks” but not in the Host Management page for example!

  • @Sebastian-Roth This should be fixed now. Since moving to a less initialization status, I forgot that the last item called is the item that will be referenced. So flipped the logic on the cancellation and all started working for me.

  • Moderator

    The initial OP is fixed as I see the Yes/No dialog now. But canceling tasks does not work anymore. I click yes but the tasks remain in the list. I see this warning in apache error log:

    PHP Warning:  html_entity_decode() expects parameter 1 to be string, array given in /var/www/html/fog/lib/fog/fogbase.class.php on line 365, referer:

  • I believe this is now corrected for.

  • I’ve seen the same thing. I’ll try to take a look today.