Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: office [...] minati.de
Cc:
AdminCc:

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



CC: Moritz Onken <onken [...] netcubed.de>
Subject: possible bug in CatalystX-ExtJS-REST 2.1.0
Date: Mon, 21 Mar 2011 18:40:50 +0100
To: bug-CatalystX-ExtJS-REST [...] rt.cpan.org
From: Mario Minati <mario.minati [...] minati.de>
Hi Moritz, I've troubles installing CatalystX-ExtJS-REST. Is there any known problem in the tests? Best greets, Mario mario@vb-glue-dev:~/Desktop/dev/glue3/trunk/glue/CatalystX-ExtJS-REST-2.1.0$ sudo prove -r ./t ./t/00-compile.t ................ ok ./t/000-report-versions-tiny.t .. # # # perl: v5.10.1 (wanted any version) on linux from /usr/bin/perl # # Carp => 1.11 (want any version) # Catalyst => 5.80030 (want any version) # Catalyst::Action => <undef> (want any version) # Catalyst::Action::REST => 0.89 (want 0.88) # Catalyst::Action::RenderView => 0.16 (want any version) # Catalyst::Controller::REST => 0.89 (want any version) # Catalyst::Engine::HTTP => <undef> (want any version) # Catalyst::Model::DBIC::Schema => 0.48 (want any version) # Catalyst::Request::REST::ForBrowsers => 0.89 (want any version) # Catalyst::Runtime => 5.80030 (want 5.80024) # Catalyst::View::JSON => 0.32 (want any version) # Catalyst::View::TT => 0.36 (want any version) # CatalystX::Controller::ExtJS::Direct => 2.1.2 (want any version) # CatalystX::Controller::ExtJS::Direct::API => 2.1.2 (want any version) # CatalystX::ExtJS::Direct => 2.1.2 (want any version) # Config::Any => 0.20 (want any version) # DBIx::Class => 0.08127 (want 0.08127) # DBIx::Class::ResultSet => <undef> (want any version) # DBIx::Class::Schema => <undef> (want any version) # File::Find => 1.14 (want any version) # File::Spec => 3.3 (want any version) # File::Temp => 0.22 (want any version) # FindBin => 1.50 (want any version) # Getopt::Long => 2.38 (want any version) # HTML::Entities => 3.64 (want any version) # HTML::FormFu => 0.08002 (want 0.08) # HTML::FormFu::ExtJS => 0.077 (want 0.076) # HTML::FormFu::Model::DBIC => 0.08002 (want 0.08) # HTTP::Request::Common => 5.824 (want any version) # JSON => 2.50 (want any version) # JSON::Any => 1.25 (want any version) # JSON::XS => 2.3 (want any version) # JavaScript::Dumper => 0.011 (want 0.011) # Lingua::EN::Inflect => 1.893 (want any version) # Module::Build => 0.3622 (want 0.3601) # Moose => 1.21 (want 1.21) # Moose::Util::TypeConstraints => 1.21 (want any version) # MooseX::MethodAttributes => 0.24 (want any version) # Path::Class => 0.23 (want any version) # Path::Class::File => 0.23 (want any version) # Pod::Usage => 1.36 (want any version) # Scalar::Util => 1.23 (want any version) # Test::More => 0.96 (want 0.88) # Test::WWW::Mechanize::Catalyst => 0.53 (want any version) # Try::Tiny => 0.09 (want any version) # # Thanks for using my code. I hope it works for you. # If not, please try and include this output in the bug report. # That will help me reproduce the issue and solve you problem. # ./t/000-report-versions-tiny.t .. ok ./t/direct/api.t ................ ok ./t/direct/rest.t ............... ok ./t/direct/router.t ............. 1/? # Failed test 'result is a hash' # at ./t/direct/router.t line 204. # got: '' # expected: 'HASH' Can't use string ("DBIx::Class::Row::update_or_inse") as a HASH ref while "strict refs" in use at ./t/direct/router.t line 206. # Tests were run but no plan was declared and done_testing() was not seen. ./t/direct/router.t ............. Dubious, test returned 9 (wstat 2304, 0x900) Failed 1/45 subtests ./t/release-has-version.t ....... skipped: these tests are for release candidate testing ./t/release-kwalitee.t .......... skipped: these tests are for release candidate testing ./t/release-minimum-version.t ... skipped: these tests are for release candidate testing ./t/release-pod-coverage.t ...... skipped: these tests are for release candidate testing ./t/release-pod-syntax.t ........ skipped: these tests are for release candidate testing ./t/release-portability.t ....... skipped: these tests are for release candidate testing ./t/rest/exception.t ............ malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<!DOCTYPE html PUBLI...") at ./t/rest/exception.t line 19. ./t/rest/exception.t ............ Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run ./t/rest/findordefault.t ........ ok ./t/rest/for_browser.t .......... ok ./t/rest/noforms.t .............. # Catalyst error screen: Caught exception in MyApp::Controller::NoForms->object "/home/mario/Desktop/dev/glue3/trunk/glue/CatalystX-ExtJS-REST-2.1.0/t/lib/MyApp/root/forms/noforms.yml cannot be found at /usr/local/share/perl/5.10.1/Catalyst/Action.pm line 65" malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "(end of string)") at ./t/rest/noforms.t line 22. ./t/rest/noforms.t .............. Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run ./t/rest/skip_end.t ............. ok ./t/rest/user.t ................. 1/? # Failed test 'success exists' # at ./t/rest/user.t line 43. # Failed test 'request list of users' # at ./t/rest/user.t line 19. # 500 # Internal Server Error Wide character in subroutine entry at ./t/rest/user.t line 21. # Tests were run but no plan was declared and done_testing() was not seen. ./t/rest/user.t ................. Dubious, test returned 9 (wstat 2304, 0x900) Failed 2/29 subtests ./t/rest/users.t ................ 26/? # Failed test 'request list of users (/users)' # at ./t/rest/users.t line 32. # 500 # Internal Server Error Wide character in subroutine entry at ./t/rest/users.t line 34. # Tests were run but no plan was declared and done_testing() was not seen. ./t/rest/users.t ................ Dubious, test returned 9 (wstat 2304, 0x900) Failed 1/45 subtests Test Summary Report ------------------- ./t/direct/router.t (Wstat: 2304 Tests: 45 Failed: 1) Failed test: 45 Non-zero exit status: 9 Parse errors: No plan found in TAP output ./t/rest/exception.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output ./t/rest/noforms.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output ./t/rest/user.t (Wstat: 2304 Tests: 29 Failed: 2) Failed tests: 11, 29 Non-zero exit status: 9 Parse errors: No plan found in TAP output ./t/rest/users.t (Wstat: 2304 Tests: 45 Failed: 1) Failed test: 45 Non-zero exit status: 9 Parse errors: No plan found in TAP output Files=18, Tests=171, 17 wallclock secs ( 0.07 usr 0.05 sys + 15.48 cusr 0.78 csys = 16.38 CPU) Result: FAIL
Hi Mario, this has been fixed in the latest release I just uploaded. Sorry for the inconvenience. Please have a look at the Changes files in both ::Direct and ::ExtJS. Cheers, moritz