Ticket #2460 (new defect)

Opened 1 month ago

It has made a mistake in the argument when calling __before__/__after__ of controller

Reported by: Tomoyuki Kano Assigned to:
Priority: normal Milestone: __unclassified__
Component: TurboGears Version: trunk
Severity: normal Keywords:
Cc:

Description

Pylons is passing a dict as args to _perform_call, so ...

2.0.x

should be controller.im_self.__before__(**args)

2.1b*

  • in tg.controllers.dispacher.Dispatcher._perform_call

should be controller.__before__(**args) and controller._before(**args)