[Catalyst] Catalyst update issues
Andreas Marienborg
omega at palle.net
Wed Mar 29 08:28:10 CEST 2006
On 29. mar. 2006, at 01.47, Nilson Santos Figueiredo Junior wrote:
> On 3/28/06, Andreas Marienborg <omega at palle.net> wrote:
>> running
>>
>> CATALYST_DEBUG=1 prove -l t/<some failing test>
>>
>> might give you some more clues, or atleast something that might give
>> someone else a clue :)
>
> Okay. They sent me the log of the test run with debugging turned on
> and although it was slightly more informative, I'm still lost
> regarding the stated problem.
>
> Everything seems fine, except for these messages right after Catalyst
> loaded the components:
>
> [Tue Mar 28 23:06:09 2006] [catalyst] [debug] Bad action definition
> "Action Private" for "TestApp::Controller::Dump->default"
> [Tue Mar 28 23:06:09 2006] [catalyst] [debug] Bad action definition
> "Private Relative" for "TestApp::Controller::Action::Private->two"
> [Tue Mar 28 23:06:09 2006] [catalyst] [debug] Bad action definition
> "Private Absolute" for "TestApp::Controller::Action::Private->three"
> [Tue Mar 28 23:06:09 2006] [catalyst] [debug] Bad action definition
> "Private Path('/action/private/four')" for
> "TestApp::Controller::Action::Private->four"
> [Tue Mar 28 23:06:09 2006] [catalyst] [debug] Bad action definition
> "Private Path('five')" for
> "TestApp::Controller::Action::Private->five"
>
The above isnt really all that related.
[Tue Mar 28 23:06:09 2006] [catalyst] [debug] Loaded Path actions:
.--------------------------------------
+---------------------------------------.
| Path |
Private |
+--------------------------------------
+---------------------------------------+
+++
| /action/auto/action/auto/one | /action/auto/one
+++
Here we se something interesting, or I think so atleast
[Tue Mar 28 23:06:09 2006] [catalyst] [debug]
**********************************
[Tue Mar 28 23:06:09 2006] [catalyst] [debug] * Request 1 (1.000/s)
[29005]
[Tue Mar 28 23:06:09 2006] [catalyst] [debug]
**********************************
[Tue Mar 28 23:06:09 2006] [catalyst] [debug] "GET" request for
"action/auto/one" from "127.0.0.1"
[Tue Mar 28 23:06:09 2006] [catalyst] [debug] Arguments are "action/
auto/one"
[Tue Mar 28 23:06:09 2006] [catalyst] [info] Request took 0.034639s
(28.869/s)
.------------------------------------------------------------------
+-----------.
| Action |
Time |
+------------------------------------------------------------------
+-----------+
| /action/auto/begin |
0.000114s |
| /action/auto/auto |
0.000030s |
| /action/auto/default |
0.000040s |
| /end |
0.000030s |
'------------------------------------------------------------------
+-----------'
t/live_component_controller_action_auto....NOK 2
# Failed test 'Executed actions'
# in t/live_component_controller_action_auto.t at line 44.
# got: 'TestApp::Controller::Action::Auto->begin,
TestApp::Controller::Action::Auto->auto,
TestApp::Controller::Action::Auto->default, TestApp->end'
# expected: 'TestApp::Controller::Action::Auto->begin,
TestApp::Controller::Action::Auto->auto,
TestApp::Controller::Action::Auto->one, TestApp->end'
t/live_component_controller_action_auto....NOK 3
If we compare it to the test request with the path given as public,
we see they dont match, and as a result of that, the request never
hits the 'one' action, but hits the default action instead.
But as for why this is happening, I'm afraid I cannot offer much
assistance
andreas
> I don't really have any idea what this means or why it happens, and it
> is obviously related to the problem.
> I'd *really* appreciate some help.
>
> Just in case it's any good, the full debug log for the first test
> case, with CATALYST_DEBUG=1 is attached.
>
> Thanks.
>
> -Nilson Santos F. Jr.
>
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
More information about the Catalyst
mailing list