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

    FOG 1.5.0 RC2 Host Delete Problem

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    3
    15
    2.5k
    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.
    • J
      Joe Gill
      last edited by Joe Gill

      Server
      • FOG Version: 1.5.0 RC 2
      • OS: Debian 8.8
      Client
      • Service Version: 0.11.12
      • OS: Windows 7
      Description

      When deleting multiple hosts, only first host in list gets deleted. The list shows all of the hosts selected. When you hit delete, it only deletes the first one in the list.

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        Found and fixed in working branch. Sorry about missing that. It came from converting from “$_REQUEST” to using php filter flags to work the data. The data was available, but only the first item in the array would match. (Though I’m more surprised it deleted anything at all.)

        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

        J 1 Reply Last reply Reply Quote 0
        • J
          Joe Gill @Tom Elliott
          last edited by

          @Tom-Elliott

          Will that also fix the Group Membership delete function from the Group page? If not, I just found that one. You press delete within Group and it won’t delete. Delete function works from the Host side in Membership but not Group.

          Hopefully what you have posted here will resolve this as well. 🙂 Thanks!!

          Tom ElliottT 1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @Joe Gill
            last edited by

            @Joe-Gill It should, yes, though I’m not 100% sure.

            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

            J 3 Replies Last reply Reply Quote 0
            • J
              Joe Gill @Tom Elliott
              last edited by

              @Tom-Elliott

              I’ll update later and test it. Thanks!

              1 Reply Last reply Reply Quote 0
              • J
                Joe Gill @Tom Elliott
                last edited by

                @Tom-Elliott

                I just tested the remove function in on the Group page. It acts as thought it is removing the selected host but it does not. You select the host, press the remove button, the page appears to refresh but everything is the same. I tried refreshing the page by going out of it and coming back into it and the hosts are still in the Group.

                1 Reply Last reply Reply Quote 0
                • J
                  Joe Gill @Tom Elliott
                  last edited by

                  @Tom-Elliott

                  The original problem is fixed though. I tested that. Thanks!

                  1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    I’m not seeing a problem adding or removing hosts from groups.

                    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

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      Joe Gill @Tom Elliott
                      last edited by

                      @Tom-Elliott

                      Strange… I just verified it again on my end and it certainly is not removing them from the group. I tested in both Firefox and Chrome. It WILL remove the Group from the Host. Just not vice versa.

                      Tom ElliottT 1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott @Joe Gill
                        last edited by

                        @Joe-Gill I just tested both scenarios. Tested Host->Membership Add and Remove Groups.
                        Tested Group->Membership Add and Remove Hosts.

                        All appears to be working from my perspective.

                        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

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          Joe Gill @Tom Elliott
                          last edited by

                          @Tom-Elliott

                          I’m using the Running Version 5 now. Would that make any difference?

                          Tom ElliottT 1 Reply Last reply Reply Quote 0
                          • Tom ElliottT
                            Tom Elliott
                            last edited by

                            0_1500586287590_959639c9-9910-434a-b1bf-9216c3f7993b-image.png
                            0_1500586331779_0b079f81-526b-4fb4-bd9e-a30d2bcb5d0e-image.png
                            0_1500586358707_1fe93d85-4243-4a4c-9867-97cd454efc98-image.png
                            0_1500586379092_5ed0638a-4780-45c8-b361-30a6535edf67-image.png
                            0_1500586400333_cd7a235f-5089-45b8-b09f-ceee3ae990fa-image.png
                            0_1500586421898_3c6683df-ddba-4be6-894d-ba65a044efab-image.png

                            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

                            J 1 Reply Last reply Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott @Joe Gill
                              last edited by

                              @Joe-Gill See my screenshots. The same issues would be seen from any “membership” tab.

                              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

                              J 1 Reply Last reply Reply Quote 0
                              • J
                                JGallo @Tom Elliott
                                last edited by JGallo

                                @Tom-Elliott
                                I tried to test this as well. I’m on SVN 6080 and when creating a group and hitting create, it takes me to a separate page with this message

                                {“msg”:“Successfully added selected hosts to the group!”}

                                When I hit the back button, then go to groups, the group is there along with random clients I did not check to add into this group. Really strange. Also forgot to mention that when I tried to delete the group, it also does not delete the clients in that group.

                                1 Reply Last reply Reply Quote 1
                                • J
                                  Joe Gill @Tom Elliott
                                  last edited by

                                  @Tom-Elliott

                                  So I figured out where I’m seeing this…

                                  I created a new test group… Added members to the group… Removed members from the group. Everything works there.

                                  When I go into an existing group… (One created in older versions of FOG…) It does not delete the members from the group.

                                  Hope that helps!

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

                                  157

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project