Skip Menu |

This queue is for tickets about the Acme-DateTime-Duration-Numeric CPAN distribution.

Report information
The Basics
Id: 118131
Status: new
Priority: 0/
Queue: Acme-DateTime-Duration-Numeric

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Tests fail (with newer DateTime versions)
Since DateTime 1.38 or so tests fail (probably due to DateTime's switch to Specio): Validation failed for type named DayOfMonth declared in package DateTime::Types (/usr/perl5.18.4p/lib/site_perl/5.18.4/amd64-freebsd/DateTime/Types.pm) at line 29 in sub named (eval) with value Acme::DateTime::Duration::Numeric={ value: 15 } Trace begun at /usr/perl5.18.4p/lib/site_perl/5.18.4/Specio/Exception.pm line 43 Specio::Exception::BUILD('Specio::Exception=HASH(0x41f8e018)', 'HASH(0x4275b228)') called at Specio::Exception->new line 57 Eval::Closure::Sandbox_17::__ANON__('Specio::Exception', 'message', 'Validation failed for type named DayOfMonth declared in package DateTime::Types (/usr/perl5.18.4p/lib/site_perl/5.18.4/amd64-freebsd/DateTime/Types.pm) at line 29 in sub named (eval) with value Acme::DateTime::Duration::Numeric={ value: 15 }', 'type', 'Specio::Constraint::Simple=HASH(0x44558090)', 'value', 'Acme::DateTime::Duration::Numeric=HASH(0x41ded228)') called at /usr/perl5.18.4p/lib/site_perl/5.18.4/Specio/Exception.pm line 62 Specio::Exception::throw('Specio::Exception', 'message', 'Validation failed for type named DayOfMonth declared in package DateTime::Types (/usr/perl5.18.4p/lib/site_perl/5.18.4/amd64-freebsd/DateTime/Types.pm) at line 29 in sub named (eval) with value Acme::DateTime::Duration::Numeric={ value: 15 }', 'type', 'Specio::Constraint::Simple=HASH(0x44558090)', 'value', 'Acme::DateTime::Duration::Numeric=HASH(0x41ded228)') called at (eval 225) line 85 DateTime::_check_new_params('year', 'Acme::DateTime::Duration::Numeric=HASH(0x41f3d7c8)', 'month', 'Acme::DateTime::Duration::Numeric=HASH(0x4451bf30)', 'day', 'Acme::DateTime::Duration::Numeric=HASH(0x41ded228)') called at /usr/perl5.18.4p/lib/site_perl/5.18.4/amd64-freebsd/DateTime.pm line 160 DateTime::new('DateTime', 'year', 'Acme::DateTime::Duration::Numeric=HASH(0x41f3d7c8)', 'month', 'Acme::DateTime::Duration::Numeric=HASH(0x4451bf30)', 'day', 'Acme::DateTime::Duration::Numeric=HASH(0x41ded228)') called at t/01_duration.t line 9 t/01_duration.t ...... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Validation failed for type named DayOfMonth declared in package DateTime::Types (/usr/perl5.18.4p/lib/site_perl/5.18.4/amd64-freebsd/DateTime/Types.pm) at line 29 in sub named (eval) with value Acme::DateTime::Duration::Numeric={ value: 15 } Trace begun at /usr/perl5.18.4p/lib/site_perl/5.18.4/Specio/Exception.pm line 43 Specio::Exception::BUILD('Specio::Exception=HASH(0x41f8e0d8)', 'HASH(0x4275b228)') called at Specio::Exception->new line 57 Eval::Closure::Sandbox_17::__ANON__('Specio::Exception', 'message', 'Validation failed for type named DayOfMonth declared in package DateTime::Types (/usr/perl5.18.4p/lib/site_perl/5.18.4/amd64-freebsd/DateTime/Types.pm) at line 29 in sub named (eval) with value Acme::DateTime::Duration::Numeric={ value: 15 }', 'type', 'Specio::Constraint::Simple=HASH(0x44551f78)', 'value', 'Acme::DateTime::Duration::Numeric=HASH(0x454be7b0)') called at /usr/perl5.18.4p/lib/site_perl/5.18.4/Specio/Exception.pm line 62 Specio::Exception::throw('Specio::Exception', 'message', 'Validation failed for type named DayOfMonth declared in package DateTime::Types (/usr/perl5.18.4p/lib/site_perl/5.18.4/amd64-freebsd/DateTime/Types.pm) at line 29 in sub named (eval) with value Acme::DateTime::Duration::Numeric={ value: 15 }', 'type', 'Specio::Constraint::Simple=HASH(0x44551f78)', 'value', 'Acme::DateTime::Duration::Numeric=HASH(0x454be7b0)') called at (eval 225) line 85 DateTime::_check_new_params('year', 'Acme::DateTime::Duration::Numeric=HASH(0x41df17c8)', 'month', 'Acme::DateTime::Duration::Numeric=HASH(0x44521ee8)', 'day', 'Acme::DateTime::Duration::Numeric=HASH(0x454be7b0)') called at /usr/perl5.18.4p/lib/site_perl/5.18.4/amd64-freebsd/DateTime.pm line 160 DateTime::new('DateTime', 'year', 'Acme::DateTime::Duration::Numeric=HASH(0x41df17c8)', 'month', 'Acme::DateTime::Duration::Numeric=HASH(0x44521ee8)', 'day', 'Acme::DateTime::Duration::Numeric=HASH(0x454be7b0)') called at t/02_ago_from_now.t line 9 t/02_ago_from_now.t .. Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Statistical analysis: **************************************************************** Regression 'mod:DateTime' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 13871620320550406.00 [1='eq_1.18'] -0.0000 0.0000 -1.11 [2='eq_1.21'] -0.0000 0.0000 -2.89 [3='eq_1.22'] -0.0000 0.0000 -1.00 [4='eq_1.26'] -0.0000 0.0000 -3.43 [5='eq_1.28'] -0.0000 0.0000 -1.00 [6='eq_1.29'] -1.0000 0.0000 -8008783726166062.00 [7='eq_1.36'] -0.0000 0.0000 -1.00 [8='eq_1.38'] -1.0000 0.0000 -12233619216562150.00 [9='eq_1.39'] -1.0000 0.0000 -9808716794706302.00 R^2= 1.000, N= 31, K= 10 ****************************************************************