#2174: Bug in tg.controllers : 405, in _get_routing_info prevents RESTfull URLs
------------------------+---------------------------------------------------
Reporter: aigarius | Owner: faide
Type: defect | Status: new
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()
--
Ticket URL: <http://trac.turbogears.org/ticket/2174>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---