Write that down
[catagits/Catalyst-Runtime.git] / TODO
CommitLineData
cdb34619 1Known Bugs:
2
3 - Bug ->go or ->visit causes actions which have Args or CaptureArgs called
4 twice when called via ->go or ->visit.
5
6 Test app: http://github.com/bobtfish/catalyst-app-bug-go_chain/tree/master
7
8Compatibility warnings to add:
9
10 - $self->config should warn as config should only ever be called as a
11 class method.
12
13Proposed functionality / feature additions:
14
15 - Log setup needs to be less lame, so Catalyst::Plugin::Log::* can die
16 in a fire. Having $c->log_class would be a good start. kane volunteered
17 to do some of this.
18
19 Simple example: Catalyst::Plugin::Log::Colorful should just be a
20 subclass of Catalyst::Log, no ::Plugin:: needed.
21
22 See also: Catalyst::Plugin::Log::Dispatch and
23 http://github.com/willert/catalyst-plugin-log4perl-simple/tree
24
139b894c 25 Fixes to component interfaces to deal with anon classes:
26
2722:16 <@mst> t0m: explain what breaks
2822:16 <@mst> I'm not 100% sure we have the same problem in mind
2922:17 <@t0m> well, various shit in Catalyst utils to resolve app from MyApp::Controller::Foo breaks
3022:17 <@mst> Caelum: http://scsys.co.uk:8001/31240
3122:17 <@mst> t0m: the trick would be to not need to do that
3222:17 <@mst> t0m: $self->_application should be fine
3322:18 <@t0m> $action->class can't be fed back into $c->component()
3422:18 <@t0m> which breaks ::REST
3522:18 <@mst> right
3622:18 <@mst> we need to
3722:19 <@mst> (a) add an ->_component_name or similar method to controllers
3822:19 <@mst> (b) pass action objects either that or the controller
3922:20 <@t0m> do you have a controller calling $action->dispatch? Course you must, the action lives in a controller..
4022:21 <@mst> and that doesn't matter anyway
4122:21 <@mst> dispatch has $c
4222:21 <@mst> it needs to do
4322:21 <@mst> $c->component($self->_component_name)
4422:21 <@mst> and that _component_name needs to come from the controller at register_actions time
4522:22 <@t0m> confound: Oi, please to be releasing my Action::REST fixes, I'm about to do more..
4622:22 <@t0m> mst: right, gotcha
4722:22 <@mst> note that needs to happen in core
4822:22 <@mst> then actions can use that instead of $self->class
4922:22 <@mst> and shit will work