see, i wish folks would use the trunk more. yeah, file tickets, and
every bug fixed becomes a unit test. this one seems like something
trivial. the inheritance thing, try to track that down...we have *so
many* inheritance tests at this point i cant believe theres still
basic issues coming up.
On Jan 24, 2007, at 11:26 AM, JP wrote:
>
>
>> I cant keep up with all thats going on at this point, and the trunk
>> was just bursting....so I need to get out what we have thus far and
>> see how far it flies.
>
> Not very far around here, I'm afraid. Just updated and ran my test
> suite (which passes with 0.3.3) and I'm getting batches of errors
> like:
>
> File "(redacted)", line 162, in test_offer_interfaces
> offer_resp.options.append(offer_opt)
> File
> "/home/jhp/work/sqlalchemy_0_3_4/lib/sqlalchemy/orm/attributes.py",
> line 418, in append
> self._data_appender(item)
> File
> "/home/jhp/work/sqlalchemy_0_3_4/lib/sqlalchemy/orm/attributes.py",
> line 390, in __getattr__
> return getattr(self.data, attr)
> File "/home/jhp/work/sqlalchemy_0_3_4/lib/sqlalchemy/orm/query.py",
> line 301, in __getattr__
> raise AttributeError(key)
> AttributeError: _data_appender
>
> The relation is a normal one-many, set up using assign_mapper on the
> many side:
>
> assign_mapper(CTX, OfferOption, offer_option, properties={
> 'offer': relation(OfferResponse, backref='options')
> })
>
> I've also seen errors with inherited mappers seeming to no longer
> populate foreign keys properly on flush, but those are a little harder
> to boil down to a simple, non-NDS-violating example.
>
> Should I file a ticket for the _data_appender error? What else can
> I do
> to help track it down?
>
> JP
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---