Skip Menu |

This queue is for tickets about the Data-HAL CPAN distribution.

Report information
The Basics
Id: 101827
Status: open
Priority: 0/
Queue: Data-HAL

People
Owner: Nobody in particular
Requestors: cpan [...] desert-island.me.uk
Cc: gregoa [...] cpan.org
AdminCc:

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



Subject: Data::HAL fails with updated URI::NamespaceMap
Data::HAL tries to stuff Data::HAL::URI objects into add_mapping, however the new release insists that the items are either strings, URI objects or URI::Namespace objects so it gets rejected. - I presume Data::HAL worked ok pre that change as it has a pile of PASSes on cpantesters. I've reported this on both modules..
On 2015-01-29 15:34:29, JROBINSON wrote: Show quoted text
> Data::HAL tries to stuff Data::HAL::URI objects into add_mapping, > however the new release insists that the items are either strings, URI > objects or URI::Namespace objects so it gets rejected. - I presume > Data::HAL worked ok pre that change as it has a pile of PASSes on > cpantesters. > > I've reported this on both modules..
analysis.cpantesters.org suggests that the fails depend on URI::NamespaceMap version: http://analysis.cpantesters.org/solved?distv=Data-HAL-1.000 Before URI::NamespaceMap 0.20 all Data-HAL tests were passes, starting with 0.20 all are fails.
Ping? Anything new here? Does anyone have any ideas? Cheers, gregor
This seems to be fixed (but not yet released) in https://github.com/sipwise/data-hal with 85538c7 and ac5f0bf. Cheers, gregor
Hi! I'm the author of URI::NamespaceMap, and I just wanted to say that I'm willing to fix this in my end if you think it is a better fix. Not sure what the fix should be, though. castaway's bug on me is at https://github.com/kjetilk/URI-NamespaceMap/issues/9 Please comment there if you think there is a better fix in my end. Also note that I use Types::URI: https://github.com/tobyink/p5-types-uri/blob/master/lib/Types/URI.pm it may also be more appropriate to add a coercion there than in any of these modules. Cheers, Kjetil