Comment 3 for bug 926278

Revision history for this message
Andreas Elvers (itsafire1) wrote :

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.