VirtualBox

Opened 10 years ago

Closed 10 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 poncho524, 10 years ago

The goal here is to make the close dialog ONLY show "Power Off" and not give the option to restore the snapshot.

comment:2 by poncho524, 10 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 Frank Mehnert, 10 years ago

Summary: Broken -- VBoxManage GUI/RestrictedCloseActions RestoreBroken -- VBoxManage GUI/RestrictedCloseActions Restore => Fixed in SVN

Thanks for this report. The manual will be fixed with the next maintenance release.

comment:4 by Frank Mehnert, 10 years ago

Could you test VBox 4.3.8 RC1?

in reply to:  4 comment:5 by poncho524, 10 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!

comment:6 by Frank Mehnert, 10 years ago

Resolution: fixed
Status: newclosed

Fix is part of VBox 4.3.8.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use