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

Opened 10 years ago

Last modified 10 years ago

Bug in tg.controllers : 405, in _get_routing_info prevents RESTfull URLs

Reported by: aigarius Owned by: faide
Priority: normal Milestone: 2.0b5
Component: TurboGears Version: trunk
Severity: normal Keywords:


tg.controllers : 405, in _get_routing_info assumes that remainder is a list, but if we follow  http://turbogears.org/2.0/docs/main/Controllers.html#the-new-tg2-lookup-method document, the remainder is passed as a tuple producing the folowing error:

AttributeError?: 'tuple' object has no attribute 'pop'

THe fix would be to convert remainder to a list or avoid using pop()

Change History

comment:1 Changed 10 years ago by mramm

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

I belive this has been fixed. If not please give us an example that breaks.

Note: See TracTickets for help on using tickets.