The bug is only triggered if the column interation takes place inside of a python script. When starting zope in debug mode and iterate over a record of an SQLMethod result "by hand" the Attribute Error is not triggered.
So this test:
def test_column_iteration(self):
ob = self._makeOne((self.columns, self.data))
row = ob[0]
for col in row:
pass
added to Shared/DC/ZRDB/tests/test_results.py does not trigger the bug either.
The bug is only triggered if the column interation takes place inside of a python script. When starting zope in debug mode and iterate over a record of an SQLMethod result "by hand" the Attribute Error is not triggered.
So this test:
def test_column_ iteration( self): (self.columns, self.data))
ob = self._makeOne(
row = ob[0]
for col in row:
pass
added to Shared/ DC/ZRDB/ tests/test_ results. py does not trigger the bug either.