Skip Menu |

This queue is for tickets about the CatalystX-ExtJS CPAN distribution.

Report information
The Basics
Id: 57373
Status: resolved
Priority: 0/
Queue: CatalystX-ExtJS

People
Owner: Nobody in particular
Requestors: jasonk@cpan.org (no email address)
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.11
Fixed in: (no value)



Subject: Global configuration doesn't work as documented
The documentation says: Global configuration for all controllers which use CatalystX::Controller::ExtJS::REST: MyApp->config( { CatalystX::Controller::ExtJS::REST => { key => value } } ); However, the code says: my $parent_config = $c->config->{'ControllerX::ExtJS::REST'} || {}; -- www.jasonkohles.com
Am Di 11. Mai 2010, 09:46:14, JASONK schrieb: Show quoted text
> The documentation says: > > Global configuration for all controllers which use > CatalystX::Controller::ExtJS::REST: > > MyApp->config( { > CatalystX::Controller::ExtJS::REST => > { key => value } > } ); > > However, the code says: > > my $parent_config = $c->config->{'ControllerX::ExtJS::REST'} || {};
Hi, I'd prefer to stick to the key mentioned in the documentation (CatalystX::Controller::ExtJS::REST). It is about the controller after all... Since this would break backwards compat, I'd merge CatalystX::Controller::ExtJS::REST and CatalystX::ExtJS::REST (with former having precedence). Which key do you prefer?
This has been fixed in version 1.101570. It now honors both configurations with ControllerX::Controller::ExtJS::REST having precedence over ControllerX::ExtJS::REST. Cheers, moritz