I am working on IBM FileNet P8 Platform 5.2.1 Content Engine unit test application in jython 2.7.
# Verify a directory
def testDirectory(self):
directoryConfigurationList = []
url = self.serverUrl + "?tenantId=" + self.tenantName
connection = Factory.Connection.getConnection(url)
domain = Factory.Domain.fetchInstance(connection, self.tenantName, None)
if (domain is not None):
dc_set = domain._DirectoryConfigurations.iterator()
while dc_set.hasNext():
dc = dc_set.next()
print dc._DisplayName
I am getting the error:
TypeError: Supertypes that share a modified attribute have an MRO conflict[attribute=remove, supertypes=[, 'com.filenet.api.collection.DependentObjectList'>], type=CmIndexPartitionConstraintList]
on line dc_set = domain._DirectoryConfigurations.iterator() and I don't quite now why. Any help on this would be appreciated. The following links to the IBM 5.2.1 knowledge center maybe helpful: