#2194: Turbogears overrides controller return values for templates
------------------------+---------------------------------------------------
 Reporter:  kikidonk    |        Owner:  faide
     Type:  defect      |       Status:  new  
 Priority:  highest     |    Milestone:  2.0b6
Component:  TurboGears  |      Version:  trunk
 Severity:  normal      |   Resolution:       
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by kikidonk):

 Note that there's also the bug #2193 where the 'h' variable conflicts with
 mako's 'h' filter, so if you let one-letter-variables from pylons at the
 root level it will still cause conflicts.

 That said, I'm all for namespacing all the stuff that's now top-level for
 consistency's sake.

 Also from my point of view, user-returned variables from a controller
 should always overwrite tg-added variables because that's the least
 surprising thing to do. The current situation is that i return {'url':
 'foo'} and the template fails to render because 'URLGenerator has no
 member strip' and that's really surprising...

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2194#comment:6>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to