mapper backref fails with AttributeError: 'unicode' object has no attribute 'get_extension' if argument is unicode.

Issue #1301 resolved
Former user created an issue

I was playing around with 2.6 and from future import unicode_literals and discovered that if the value of the backref argument to mapper is a unicode string, mapper fails with:

AttributeError: 'unicode' object has no attribute 'get_extension'

A test case is attached. The failure can be replicated either as is (passing u'Author' as the backref) or by uncommenting the future import.

Comments (3)

  1. Former user Account Deleted

    My contact info is rdmurray@bitdance.com. I must have missed the place to add myself as a CC.

  2. Log in to comment