• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Checkboxes in Task Management not working as expected

Scheduled Pinned Locked Moved Solved
Bug Reports
2
5
1.7k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    Sebastian Roth Moderator
    last edited by Apr 26, 2016, 8:06 PM

    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!

    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Apr 26, 2016, 8:32 PM

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

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Apr 26, 2016, 9:18 PM

        I believe this is now corrected for.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Apr 27, 2016, 2:26 PM

          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: http://172.16.1.106/fog/management/index.php?node=task&sub=active
          

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          T 1 Reply Last reply Apr 27, 2016, 3:41 PM Reply Quote 0
          • T
            Tom Elliott @Sebastian Roth
            last edited by Apr 27, 2016, 3:41 PM

            @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.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              1/5
              Last post

            150

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project