Ravi Nori has posted comments on this change.

Change subject: sdk: Update API fails in SDK & CLI for several entities
......................................................................


Patch Set 1:

Hi Michael

I started fresh, reverted the patch, rebuilt sdk and tried update.

The update still fails

<data_center id="36d726aa-d25c-4750-8e93-703c560f9835"/>\n'

is being send to the server. The properties and their values are not being sent 
from DataCenter.update method in brokers.py

        result = self.__getProxy().update(
            url=UrlHelper.replace(
                url,
                {'{datacenter:id}': self.get_id()}
            ),
            body=ParseHelper.toXml(self.superclass),
            headers={"Correlation-Id":correlation_id}
        )

The properties and the values are in self (that could be the bug) and not in 
self.superclass

-- 
To view, visit http://gerrit.ovirt.org/31112
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Iaf51e314e2e8381c882031e749780811a8e14b16
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <rn...@redhat.com>
Gerrit-Reviewer: Michael Pasternak <mishka8...@yahoo.com>
Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com>
Gerrit-Reviewer: Ravi Nori <rn...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-HasComments: No
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to