Ticket #39 (closed defect: fixed)
Error when flushing object who's property name matches the column name
| Reported by: | guest | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.7 |
| Component: | core | Version: | 0.5.0 |
| Keywords: | Cc: | jaraco@… |
Description
The error is: AttributeError: 'ColumnProperty' object has no attribute 'key'
when a ManyToOne relation is declared with the same property name as the column name:
my = ManyToOne('MyEntity', colname='my')
I'm attaching a patch to elixir/tests that attempts to demonstrate the issue concisely.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
