Skip Menu |

This queue is for tickets about the JRPC CPAN distribution.

Report information
The Basics
Id: 113244
Status: open
Priority: 0/
Queue: JRPC

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

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



Subject: Tests fail (with latest JSON::XS?)
The t/02testserv.t test fails, probably only if the latest JSON::XS version is installed: Error Serializing message: hash- or arrayref expected (not a simple scalar, use allow_nonref to allow this) at /tmpfs/.cpan-build-cpansand/2016032121/JRPC-0.61-D2kboD/blib/lib/JRPC/Client.pm line 177, <DATA> line 16. # Looks like you planned 12 tests but ran 3. # Looks like your test exited with 255 just after 3. Perl exited with active threads: 1 running and unjoined 0 finished and unjoined 0 running and detached t/02testserv.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 9/12 subtests
On Mon Mar 21 19:10:30 2016, SREZIC wrote: Show quoted text
> The t/02testserv.t test fails, probably only if the latest JSON::XS > version is installed:
For what it's worth, this seems fixed now (possibly as of JSON::XS 4.0, whose changelog refers to allow_nonref by default: https://metacpan.org/changes/distribution/JSON-XS ).
On 2020-04-22 13:55:22, SLANNING wrote: Show quoted text
> On Mon Mar 21 19:10:30 2016, SREZIC wrote:
> > The t/02testserv.t test fails, probably only if the latest JSON::XS > > version is installed:
> > For what it's worth, this seems fixed now (possibly as of JSON::XS > 4.0, whose changelog refers to allow_nonref by default: > https://metacpan.org/changes/distribution/JSON-XS ).
Yes, seems so. So what's missing now is to set the minimum prereq version for JSON::XS, in case an older JSON::XS < 4.0 is still installed.