[Catalyst] $c->namespace misbehaving

Josef Chladek josef.chladek at gmail.com
Thu Oct 29 15:45:38 GMT 2009


Am 29.10.2009 um 13:38 schrieb Thomas Zehetbauer:

> with Catalyst 5.80007 (my development workstation):
> c.uri_for('details') = 'http://localhost:3000/devisen/details'
> c.namespace() = 'devisen'
>
> with Catalyst 5.7013 (our production servers):
> c.uri_for('details') = 'http://localhost:3000/tt/details'
> c.namespace() = 'tt'
>
> although the documentation of $c->namespace() has not changed, it's  
> return value obviously has. I could not find that to be mentioned in  
> the changelog either. is there a documented and supported behaviour  
> for this function or should I consider it to be unstable and avoid  
> it? if there is a supported behaviour: which one and how do I fix  
> the other installation (upgrading is not an option).

this was a bug introduced in Action.pm v5.7013, see

http://lists.scsys.co.uk/pipermail/catalyst/2008-May/018702.html

josef



More information about the Catalyst mailing list