VirtualBox

Opened 9 years ago

#13853 new defect

SDK: Java via webservice: IMachine.setGroups causes IMachine.deleteConfig to work wrongly

Reported by: andresluzern Owned by:
Component: webservices Version: VirtualBox 4.3.22
Keywords: java, deleteConfig, groups Cc:
Guest type: all Host type: Windows

Description

Setting: Using a java application to access webservice from SDK to control virtual box.

Problem: IMachine.deleteConf does not delete files when machine is in a group other than "/"

Use case:

  • Create clones
  • Add clones to group "/Clones" (and only this group)
  • Verify: Files of clone were created in subfolder "/Clones/Name_of_clone
  • Delete clones using 'deleteConf' does NOT delete files and does not fail! Documentation does not mention anything related to that

Workaround

  • Before deleting, change group back to "/". delteConf works as expected

Attachments (1)

Main.java (3.8 KB ) - added by andresluzern 9 years ago.
Example file which produces the problem

Download all attachments as: .zip

Change History (1)

by andresluzern, 9 years ago

Attachment: Main.java added

Example file which produces the problem

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use