Write that down
[catagits/Catalyst-Runtime.git] / TODO
1 Known 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
8 Compatibility warnings to add:
9
10    - $self->config should warn as config should only ever be called as a
11      class method.
12
13 Proposed 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
25   Fixes to component interfaces to deal with anon classes:
26
27 22:16 <@mst> t0m: explain what breaks
28 22:16 <@mst> I'm not 100% sure we have the same problem in mind
29 22:17 <@t0m> well, various shit in Catalyst utils to resolve app from MyApp::Controller::Foo breaks
30 22:17 <@mst> Caelum: http://scsys.co.uk:8001/31240
31 22:17 <@mst> t0m: the trick would be to not need to do that
32 22:17 <@mst> t0m: $self->_application should be fine
33 22:18 <@t0m> $action->class can't be fed back into $c->component() 
34 22:18 <@t0m> which breaks ::REST
35 22:18 <@mst> right
36 22:18 <@mst> we need to
37 22:19 <@mst> (a) add an ->_component_name or similar method to controllers
38 22:19 <@mst> (b) pass action objects either that or the controller
39 22:20 <@t0m> do you have a controller calling $action->dispatch? Course you must, the action lives in a controller..
40 22:21 <@mst> and that doesn't matter anyway
41 22:21 <@mst> dispatch has $c
42 22:21 <@mst> it needs to do
43 22:21 <@mst> $c->component($self->_component_name)
44 22:21 <@mst> and that _component_name needs to come from the controller at register_actions time
45 22:22 <@t0m> confound: Oi, please to be releasing my Action::REST fixes, I'm about to do more..
46 22:22 <@t0m> mst: right, gotcha
47 22:22 <@mst> note that needs to happen in core
48 22:22 <@mst> then actions can use that instead of $self->class
49 22:22 <@mst> and shit will work