diag_confbak.php issues

Started by gpac, May 30, 2015, 11:05:43 AM

Previous topic - Next topic
It seems that diag_confbak.php has some issues.

My platform : Alix SD3 (time is lost when power-off).
OPNsense release : 15.1.11.1 nano

System made automatically some backups before syncing time with NTP server => these backups appears dated 1/1/2000 from CLI with file names config-946685???.xml

From web GUI they appear "Unknown" date.

From GUI trying to remove those with "Unknown" do not work (I think because malformation of URL which didn't get proper backup file no : https://192.168.2.1/diag_confbak.php?rmver=)

From GUI trying to remove those with a date works bizarrely :
+ clicking on the "x" seems to work (we go to confirmation screen)
+ file is actually removed from the disk & GUI says "Deleted Backup...", but stays with the confirmation screen.
If you click on "Config History" to reload the list of backups, the deleted backup is still present in the list.

Best regards.

I created and issue on github from your forum post..https://github.com/opnsense/core/issues/202
If possible it would be very helpful if you can do this next time you find an issue..

Thanks for reporting and testing!