Bugs item #1440300, was opened at 2006-02-28 15:48
Message generated for change (Comment added) made by phd
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1440300&group_id=74338
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: SQLObject release (specify)
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Any EnumCol creation throws AssertionError
Initial Comment:
The simplest example using EnumCol fails with an
AssertionError when attempting to create a SQLObject
subclass:
>>> class Page (SQLObject):
... name=EnumCol(['val1', 'val2'])
results in:
AssertionError: You cannot change a name after it has
already been set (from ['val1', 'val2'] to name)
This is in SQLObject v0.7.0. I'm a noob, so maybe this
is somehow my fault, but the example seems so simple
that I'd like to doubt that for now.
----------------------------------------------------------------------
>Comment By: Oleg Broytmann (phd)
Date: 2006-05-19 17:39
Message:
Logged In: YES
user_id=4799
class Page (SQLObject):
name=EnumCol(enumValues=['val1', 'val2'])
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1440300&group_id=74338
|