Archived
This forum has been archived. Please start a new discussion on GitHub.
Missing "self." prefix inside python's Glacier.Application.addWithUUID method
In Ice 3.4.2:
The method for Glacier2.Application class, addWithUUID is missing the self. prefix when calling objectAdapter and createCallbackIdentity as shown below:
def addWithUUID(self, servant):
return objectAdapter().add(servant, createCallbackIdentity(Ice.generateUUID()))
This should be:
def addWithUUID(self, servant):
return self.objectAdapter().add(servant, self.createCallbackIdentity(Ice.generateUUID()))
The method for Glacier2.Application class, addWithUUID is missing the self. prefix when calling objectAdapter and createCallbackIdentity as shown below:
def addWithUUID(self, servant):
return objectAdapter().add(servant, createCallbackIdentity(Ice.generateUUID()))
This should be:
def addWithUUID(self, servant):
return self.objectAdapter().add(servant, self.createCallbackIdentity(Ice.generateUUID()))
0
Comments
-
Hi,
Welcome to the forum.
Thanks for reporting this bug, it will be fixed in the next release.
Regards,
Mark0