Ticket #511 (closed defect: fixed)
GAE Adapter ignores applying dynamic properties to a referenced class.
| Reported by: | nick | Owned by: | nick |
|---|---|---|---|
| Priority: | major | Milestone: | 0.4.2 |
| Component: | Adapter | Version: | 0.4.1 |
| Keywords: | gae | Cc: | |
| Fixed in revision: | 2285 | Branch: | gae-reference-property-511 |
| Author: | nick |
Description
An pseudo code example:
class Author(db.Model): name = db.StringProperty() class Novel(db.Model): title = db.StringProperty() author = db.ReferenceProperty(Author) a = Author(name='Jane Austen') a.put() b = Novel(title='Sense and Sensibility', author=a) b.put() del a, b x = Novel.all().filter('title = ', 'Sense and Sensibility').get() foo = [1, 2, 3] x.author.bar = foo k = str(x.key()) y = pyamf.decode(pyamf.encode(x)).next() assert y.author.bar == foo
Change History
Note: See
TracTickets for help on using
tickets.


