Bug #6667
closed
My Packages link uses incorrect query format
Added by ben leinfelder almost 10 years ago.
Updated over 9 years ago.
Description
I was looking into a help request about a user's packages not showing up for her, turns out the query has some incorrectly placed escaped quotes around the rightsHolder portion clause.
Here's an example:
https://knb.ecoinformatics.org/knb/d1/mn/v1/query/solr/fl=id,title,origin,pubDate,dateUploaded,abstract,resourceMap,beginDate,endDate,read_count_i,geohash_9,northBoundCoord,southBoundCoord,eastBoundCoord,westBoundCoord&q=+-obsoletedBy:*+%22%2BrightsHolder%3Auid%3Dkepler%2Co%3Dunaffiliated%2Cdc%3Decoinformatics%2Cdc%3Dorg%22+formatType:METADATA&sort=dateUploaded+desc&wt=json&rows=25&start=0&facet=true&facet.sort=index&facet.field=keywords&facet.field=geohash_1&facet.field=geohash_2&facet.field=geohash_3&facet.field=geohash_4&facet.field=geohash_5&facet.field=geohash_6&facet.field=geohash_7&facet.field=geohash_8&facet.field=geohash_9&facet.mincount=1&facet.limit=-1?start=0
The important bit is:
\"+rightsHolder:uid=sjryan3,o=unaffiliated,dc=ecoinformatics,dc=org\"
The quotes should only surround the value, not the field and value.
- Status changed from New to Closed
Lauren fixed in the 1.6 branch and cut a 1.6.4 release (after a try at 1.6.3 that needed more modifications). Deployed on KNB and looks good.
- Target version changed from 1.7.0 to 1.6.4
Also available in: Atom
PDF