Bugs item #1440300, was opened at 2006-02-28 04:48
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Open
Resolution: None
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1440300&group_id=74338
|