FOG 1.5.0 RC2 Host Delete Problem
-
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.
-
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.)
-
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!!
-
@Joe-Gill It should, yes, though I’m not 100% sure.
-
I’ll update later and test it. Thanks!
-
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.
-
The original problem is fixed though. I tested that. Thanks!
-
I’m not seeing a problem adding or removing hosts from groups.
-
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.
-
@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.
-
I’m using the Running Version 5 now. Would that make any difference?
-
-
@Joe-Gill See my screenshots. The same issues would be seen from any “membership” tab.
-
@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.
-
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!