History table - image deleting doesn't get logged
-
Server
- FOG Version: 1.3.0 RC-20
- OS: CentOS 7
Description
I’m trying to figure out what happened to an image, and I found out through testing that there is no log written into the DB’s history table for when an image is deleted.
To be through, we should also check snapin deleting and host deleting and group deleting, and everything deleting I guess.
-
What? I don’t understand what you’re saying is a bug?
-
@Tom-Elliott ok, moved to feature requests.
-
Setup for RC-21.
-
Moved back to Bugs. I wasn’t saying this wasn’t a bug, I just wanted to know what the bug was more cleanly.
The bug was the text being written to the database only showed updated for any deleted item. This was due to an ajax check. When we delete something, we are doing so via ajax. The checks were only allowing writing to the db if the item in use was not coming from ajax.
While this is still valid, the change to more appropriately write data based on the action should have been available through user based ajax calls. (You had to interact to login in order to delete an item).