[vbox-dev] IMachine::mediumAttachments and incorrect behavior using vboxwebsrv API
joseph1962smith at yahoo.com
Fri Mar 5 18:09:25 PST 2010
Sorry about that ... my mistake ... I had intended to do a reply-all ... but I must have accidentally done only a reply ....
--- On Fri, 3/5/10, Klaus Espenlaub <Klaus.Espenlaub at Sun.COM> wrote:
From: Klaus Espenlaub <Klaus.Espenlaub at Sun.COM>
Subject: Re: [vbox-dev] IMachine::mediumAttachments and incorrect behavior using vboxwebsrv API
To: "Joseph Smith" <joseph1962smith at yahoo.com>
Date: Friday, March 5, 2010, 12:34 PM
Joseph Smith wrote:
> Hi Klaus,
> My apologies for not including such obviously important information. :(
> Language: PHP (using the generated PHP wrappers)
> Version: PUEL 3.1.0
> Downloaded: ~ Dec 2009
> I tried searching bugtracker before e-mailing this group to see if there was an issue opened for this but maybe did not use the right search criteria as nothing came up that seemed like the problem I've described.
*Please* stay on the list, as what you're doing prevents information getting found. Next time I will ignore any mail directly sent to me. Feel free to CC back to the list.
I just saw a few minor changes about 3 months ago, and they don't affect arrays. This was shortly before 3.1.0 was released. No other significant changes afterwards.
So to me it seems like this is either a bug in the PHP soap code in general, or in the PHP wrappers about which you should know orders of magnitude more than I do. Other webservice language bindings certainly have no problems (well, Python had a similar issue ages ago, which is what I remembered correctly).
> --- On *Fri, 3/5/10, Klaus Espenlaub /<Klaus.Espenlaub at Sun.COM>/* wrote:
> From: Klaus Espenlaub <Klaus.Espenlaub at Sun.COM>
> Subject: Re: [vbox-dev] IMachine::mediumAttachments and incorrect
> behavior using vboxwebsrv API
> To: "Joseph Smith" <joseph1962smith at yahoo.com>
> Cc: vbox-dev at virtualbox.org
> Date: Friday, March 5, 2010, 9:32 AM
> Joseph Smith wrote:
> > Hi,
> > After quite a bit of testing, I believe there is definitely a
> problem with the IMachine::mediumAttachments webservice API. Per
> the documentation, this API should return a collection of medium
> attachment objects (actually a handle for each attachment object). Essentially a list (collection) with zero to many handles.
> > This works well when there is more than one medium attachment in
> the list. Whenever there is only one attachment in the list, the
> IMachine::mediumAttachments API actually returns a medium attachment
> object rather than a list with a single object (handle).
> > It seems this is a problem with vboxwebsrv. Has anyone
> encountered this problem using other API approaches (e.g: XPCOM) ?
> I seem to remember that a bug in this area was found and fixed a
> while ago. Which language do you use, which VirtualBox version and
> when did you download the SDK?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vbox-dev