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

Opened 14 years ago

Last modified 12 years ago

Using a decorator between @turbogears.expose and the method makes has_error detection difficult

Reported by: jchu@… Owned by: anonymous
Priority: normal Milestone: 0.9
Component: TurboGears Version:
Severity: normal Keywords:


If I have a method that looks like this turbogears.expose doesn't detect the has_errors:

   def save(self, id, has_errors, *args, **kw):

There was talk of splitting up @expose to get around this problem.  http://groups.google.ca/group/turbogears/browse_thread/thread/73810b1029a25ac6/86d6c2addc9c12a4

Change History

comment:1 Changed 13 years ago by simon

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

Fixed with new error handling scheme, split of expose and well behaved decorators.

comment:2 Changed 13 years ago by michele

  • Milestone set to 0.9
Note: See TracTickets for help on using tickets.