LibreCat / Catmandu-Solr

https://metacpan.org/release/Catmandu-Solr
0 stars 4 forks source link

Queries using the '--id' throw an error #8

Closed phochste closed 7 years ago

phochste commented 7 years ago

This query throws an error

$ catmandu export Solr --id "archive.ugent.be:6B4577BE-ADCD-11E2-9873-C6B0A558A163" 
Can't use string ("archive.ugent.be:6B4577BE-ADCD-1"...) as a HASH ref while "strict refs" in use at /home/librecat/.plenv/versions/5.20.2/lib/perl5/site_perl/5.20.2/Catmandu/Store/Solr/Bag.pm line 254.

Shouldn't the $_ on line 254 be an $item?

https://github.com/LibreCat/Catmandu-Solr/blob/master/lib/Catmandu/Store/Solr/Bag.pm#L254