Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #333 (closed defect: duplicate)

Opened 13 years ago

Last modified 13 years ago

"sqlobject.sqlbuilder.NoDefault" when adding new entries with turbogears.fastdata.DataController

Reported by: alberto@… Owned by: anonymous
Priority: normal Milestone: 0.9
Component: TG Widgets Version:
Severity: normal Keywords: formmaker
Cc:

Description

As Jorge Godoy pointed out  here, widgets in forms made by formmaker for sqlobject columns that have no default value should not have "sqlobject.sqlbuilder.NoDefault?" as default value as it makes no sense.

The following patch fixes it, columns with no default value just appear blank, which is what it believe more reasonable.

Attachments

formmaker.patch Download (735 bytes) - added by alberto@… 13 years ago.
formmaker_v2.patch Download (754 bytes) - added by alberto@… 13 years ago.
Ooops, fixed a little bug in the patch

Change History

Changed 13 years ago by alberto@…

Changed 13 years ago by alberto@…

Ooops, fixed a little bug in the patch

comment:1 Changed 13 years ago by anonymous

Please ignore me, #329 fixed it before I did

comment:2 Changed 13 years ago by Stephen Thorne <stephen@…>

  • Status changed from new to closed
  • Resolution set to duplicate

Resolved as duplicate with #329

Note: See TracTickets for help on using tickets.