Skip Menu |

This queue is for tickets about the DateTime-Format-JSON-MicrosoftDateFormat CPAN distribution.

Report information
The Basics
Id: 122895
Status: resolved
Worked: 30 min
Priority: 0/
Queue: DateTime-Format-JSON-MicrosoftDateFormat

People
Owner: MRDVT [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc: DROLSKY [...] cpan.org
AdminCc:

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



CC: DROLSKY [...] cpan.org
Subject: Can't locate object method "_stringify" via package "DateTime"
The test suite started to fail: ... Can't locate object method "_stringify" via package "DateTime" at /home/cpansand/.cpan/build/2017082506/DateTime-Format-JSON-MicrosoftDateFormat-0.03-12/blib/lib/DateTime/Format/JSON/MicrosoftDateFormat.pm line 54, <DATA> line 1. # Looks like your test exited with 255 just after 3. t/002_to_json.t ............. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 2/5 subtests t/003_to_json_no_install.t .. ok t/004_parse_datetime.t ...... ok Can't locate object method "_stringify" via package "DateTime" at t/005_format_datetime.t line 17, <DATA> line 1. # Looks like your test exited with 255 just after 3. t/005_format_datetime.t ..... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 13/16 subtests ... This seems to happen with DateTime 1.44. I see in the DateTime Changes that a stringify() method was introduced, so maybe an existing _stringify() method was removed at the same time (did not check).
On 2017-08-25 02:03:21, SREZIC wrote: Show quoted text
> The test suite started to fail: > > ... > Can't locate object method "_stringify" via package "DateTime" at > /home/cpansand/.cpan/build/2017082506/DateTime-Format-JSON- > MicrosoftDateFormat-0.03- > 12/blib/lib/DateTime/Format/JSON/MicrosoftDateFormat.pm line 54, > <DATA> line 1. > # Looks like your test exited with 255 just after 3. > t/002_to_json.t ............. > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 2/5 subtests > t/003_to_json_no_install.t .. ok > t/004_parse_datetime.t ...... ok > Can't locate object method "_stringify" via package "DateTime" at > t/005_format_datetime.t line 17, <DATA> line 1. > # Looks like your test exited with 255 just after 3. > t/005_format_datetime.t ..... > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 13/16 subtests > ... > > This seems to happen with DateTime 1.44. I see in the DateTime Changes > that a stringify() method was introduced, so maybe an existing > _stringify() method was removed at the same time (did not check).
Yes, the private method was removed.
Show quoted text
> > > > This seems to happen with DateTime 1.44. I see in the DateTime Changes > > that a stringify() method was introduced, so maybe an existing > > _stringify() method was removed at the same time (did not check).
> > Yes, the private method was removed.
Fixed in version 0.04