Ticket #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
comment:2 Changed 9 years ago by poncho524
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 Changed 9 years ago by frank
- Summary changed from Broken -- VBoxManage GUI/RestrictedCloseActions Restore to Broken -- VBoxManage GUI/RestrictedCloseActions Restore => Fixed in SVN
Thanks for this report. The manual will be fixed with the next maintenance release.
comment:4 follow-up: ↓ 5 Changed 9 years ago by frank
Could you test VBox 4.3.8 RC1?
comment:5 in reply to: ↑ 4 Changed 9 years ago by poncho524
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.