VirtualBox

Ticket #12701 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

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:1 Changed 8 years ago by poncho524

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

comment:2 Changed 8 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 8 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 8 years ago by frank

Could you test  VBox 4.3.8 RC1?

comment:5 in reply to: ↑ 4 Changed 8 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!

comment:6 Changed 8 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fix is part of VBox 4.3.8.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use