<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Thanks for the fix. I confirmed that it fixed the issue of transient property becoming permanent after delete.</DIV>
<DIV> </DIV>
<DIV>But still have some problems deleting guest properties, the xml file still shows some temp guest property after value is set to NULL. The good thing is that they won't get saved to the xml after vm is shutdown.<BR><BR>--- On <B>Fri, 7/30/10, Michael Thayer <I><michael.thayer@oracle.com></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: Michael Thayer <michael.thayer@oracle.com><BR>Subject: Re: [vbox-dev] bug - TRANSIENT guest property can't get deleted?<BR>To: "Huihong Luo" <huisinro@yahoo.com><BR>Cc: vbox-dev@virtualbox.org<BR>Date: Friday, July 30, 2010, 2:09 AM<BR><BR>
<DIV class=plainMail>Hello Huihong,<BR><BR>Le vendredi 23 juillet 2010 à 11:32 +0200, Michael Thayer a écrit :<BR>> Le jeudi 22 juillet 2010 à 18:50 -0700, Huihong Luo a écrit :<BR>> > when a TRANSIENT guest property is deleted, it becomes permanent after<BR>> > vm is shutdown. kind of weird.<BR>> Confirmed, will investigate.<BR>This is fixed in the 3.2 branch as follows:<BR><BR>Index: src/VBox/Main/MachineImpl.cpp<BR>===================================================================<BR>--- src/VBox/Main/MachineImpl.cpp<BR>+++ src/VBox/Main/MachineImpl.cpp<BR>@@ -10374,5 +10374,5 @@<BR>                 break;<BR>             }<BR>-        if (aValue != NULL)<BR>+        if (aValue != NULL && aValue[0] != '\0')<BR>         {<BR>         
    HWData::GuestProperty property = { aName, aValue, aTimestamp, fFlags };<BR><BR>It is not yet fixed in trunk, as we want to do a more invasive fix<BR>involving a proper delete API.<BR><BR>Regards,<BR><BR>Michael<BR>-- <BR>ORACLE Deutschland B.V. & Co. KG   Michael Thayer<BR>Werkstrasse 24                     VirtualBox engineer<BR>71384 Weinstadt, Germany           mailto:<A href="http://us.mc343.mail.yahoo.com/mc/compose?to=michael.thayer@sun.com" ymailto="mailto:michael.thayer@sun.com">michael.thayer@sun.com</A><BR><BR>Hauptverwaltung: Riesstr. 25, D-80992 München<BR>Registergericht: Amtsgericht München, HRA 95603<BR><BR>Komplementärin: ORACLE Deutschland Verwaltung B.V.<BR>Rijnzathe 6, 3454PV De Meern, Niederlande<BR>Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697<BR>Geschäftsführer: Jürgen Kunz,
 Marcel van de Molen, Alexander van der Ven <BR><BR><BR></DIV></BLOCKQUOTE></td></tr></table>