Opened 11 years ago
Closed 11 years ago
#12701 closed defect (fixed)
Broken -- VBoxManage GUI/RestrictedCloseActions Restore => Fixed in SVN
Reported by: | poncho524 | Owned by: | |
---|---|---|---|
Component: | VM control | Version: | VirtualBox 4.3.6 |
Keywords: | VBoxManage RestrictedCloseActions Restore | Cc: | |
Guest type: | all | Host type: | Windows |
Description
After issuing this command for a VM, the "restore" option remains selectable
VBoxManage setextradata "VM name" GUI/RestrictedCloseActions SaveState,Shutdown,Restore
Change History (6)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Found the issue...
The User Manual "9.19.8. Action when terminating the VM" lists the accepted "OPTIONS" as: "SaveState", "Shutdown", "PowerOff", and "Restore"
However, src/VBox/Frontends/VirtualBox/src/converter/UIConverterBackendGlobal.cpp, line 716 has these options listed: "SaveState", "Shutdown", "PowerOff", and "PowerOffRestoringSnapshot"
So either the Manual needs to be updated, or the code should be updated.
comment:3 by , 11 years ago
Summary: | Broken -- VBoxManage GUI/RestrictedCloseActions Restore → Broken -- VBoxManage GUI/RestrictedCloseActions Restore => Fixed in SVN |
---|
Thanks for this report. The manual will be fixed with the next maintenance release.
comment:5 by , 11 years ago
Replying to frank:
Could you test VBox 4.3.8 RC1?
By code and "User Manual" inspection, it looks good. They both now match. Thanks!
The goal here is to make the close dialog ONLY show "Power Off" and not give the option to restore the snapshot.