Archived
This forum has been archived. Please start a new discussion on GitHub.
Missing "self." prefix inside python's Glacier.Application.addWithUUID method
wtruong
in Bug Reports
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
