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 #1810 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

Remove or deprecate tg.decorators.validate._before_validate

Reported by: nbm Owned by: percious
Priority: normal Milestone:
Component: TurboGears Version: trunk
Severity: normal Keywords:


validate._before_validate isn't used anywhere in core, and anything that can be done with it should be possible using the before_validate hook.

Two options - remove it immediately, or try give deprecation warnings.


tg-decorators-remove-_before_validate.patch Download (519 bytes) - added by nbm 11 years ago.
tg-decorators-deprecate-_before_validate.patch Download (807 bytes) - added by nbm 11 years ago.

Change History

Changed 11 years ago by nbm

Changed 11 years ago by nbm

comment:1 Changed 11 years ago by mramm

  • Owner changed from anonymous to percious

Chris can you try applying the first patch, and testing DBSprockets. If DBSprockets is fine we can just checkin the first patch, if not we need to checkin the second and figure out the right way to do things.


comment:2 Changed 11 years ago by mramm

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

Removed _before_validate in r 4640

comment:3 Changed 11 years ago by anonymous

  • Milestone 2.0-preview-1 deleted

Milestone 2.0-preview-1 deleted

Note: See TracTickets for help on using tickets.