
thomasz at hostmaster
Oct 29, 2009, 5:38 AM
Post #1 of 2
(252 views)
Permalink
|
|
$c->namespace misbehaving
|
|
the url http://localhost:3000/devisen/crossrates calls Cat::Controller::Devisen->begin :Private Cat::Controller::Devisen->crossrates :Local :Args(0) Cat::Controller::Devisen->end :ActionClass(RenderView) leading to Cat::View::TT->process in the template I call $c->uri_for() / $c->namespace(): 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). tom -- Thomas Zehetbauer Muhrengasse 54 / 6 / 8, 1100 Wien PGP-Key-Id: 0x96FFCB89 _______________________________________________ List: Catalyst[at]lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst[at]lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
|