gbv / SignaturenDruck

An electron application to print shelfmarks onto labels
https://verbundwiki.gbv.de/display/VZG/SignaturenDruck+der+ThULB+Jena
Creative Commons Zero v1.0 Universal
3 stars 2 forks source link

Barcode Search no longer working in v1.1.0-b #43

Closed jsubhi closed 5 years ago

jsubhi commented 5 years ago

Searching with barcode no longer works. Tried all combinations of "useK10plus": false / true "SRUAddress": "http://sru.k10plus.de/opac-de-hil2", http://sru.gbv.de/opac-de-hil2

and Barcode HIL2$72093676

Nothing happens in the app after entering the barcode.

I do get results when I query SRU directly, so address should be OK: http://sru.gbv.de/opac-de-hil2?version=1.1&operation=searchRetrieve&query=pica.bar=HIL2$72093676&maximumRecords=1&recordSchema=picaxml http://sru.k10plus.de/opac-de-hil2?version=1.1&operation=searchRetrieve&query=pica.bar=HIL2$72093676&maximumRecords=1&recordSchema=picaxml

Config.json: { "defaultDownloadPath": "C:/Export/download.dnl", "sortByPPN": false, "useK10plus": false, "example": { "shelfmark": "GER 132 : B17,b", "location": "MAG", "regex": "^([A-Z]) (.):(.*)$", "delimiter": ":" }, "modal": { "showModal": true, "modalTxt": "Die ausgewählten Signaturen wurden gedruckt." }, "SRU": { "useSRU": true, "SRUAddress": "http://sru.k10plus.de/opac-de-hil2", "QueryPart1": "?version=1.1&operation=searchRetrieve&query=pica.bar=", "QueryPart2": "&maximumRecords=1&recordSchema=picaxml" }, "print": { "printImmediately": false, "printCoverLabel": false }, "mode": { "defaultMode": "UBHiFH" }, "devMode": true }

UBHiFH.json {"modeName":"UBHiFH","subModes":[{"id":0,"format":"UBHiFHStd","useRegEx":true,"regEx":"^([A-Z]) (.):(.*)$","delimiter":" ","exampleShelfmark":"GER 132 : B17,b","result":["$1","$2","$3"]}]}

moehrlich commented 5 years ago

This Barcode does not have an subfield t in picaxml 209A - would be fixed

EliDeh commented 5 years ago

There was an internal error if a required field couldn't be found.