When using a z3950 connexion with UNIMARC authorities, you get an error : Unsupported UNIMARC character encoding [ ] for XML output for UNIMARCAUTH; 100$a -> 20141119 I've seen thant Bug 2060 when adds authorities import adds a special behavior for UNIMARC : marc flavor must be UNIMARCAUTH instead of just UNIMARC. The same behavior must exist when using z3950 connexion and import.
Created attachment 33675 [details] [review] Bug 13296 - error when using z3950 with UNIMARC authorities When using a z3950 connexion with UNIMARC authorities, you get an error : Unsupported UNIMARC character encoding [ ] for XML output for UNIMARCAUTH; 100$a -> 20141119 I've seen thant Bug 2060 when adds authorities import adds a special behavior for UNIMARC : marc flavor must be UNIMARCAUTH instead of just UNIMARC. This patch adds the same behavior when using z3950 connexion and import. Test plan : - Use a UNIMARC install - Define a z3950 connexion for UNIMARC authorities - Go to Authorities module - Click on "New from Z39.50" - Perform a search => Without patch : you get the error => With patch : you get results - Import one result => You get the authoritie creation form with all datas You may check same plan with MARC21 install
Created attachment 34281 [details] [review] Bug 13296 - error when using z3950 with UNIMARC authorities When using a z3950 connexion with UNIMARC authorities, you get an error : Unsupported UNIMARC character encoding [ ] for XML output for UNIMARCAUTH; 100$a -> 20141119 I've seen thant Bug 2060 when adds authorities import adds a special behavior for UNIMARC : marc flavor must be UNIMARCAUTH instead of just UNIMARC. This patch adds the same behavior when using z3950 connexion and import. Test plan : - Use a UNIMARC install - Define a z3950 connexion for UNIMARC authorities - Go to Authorities module - Click on "New from Z39.50" - Perform a search => Without patch : you get the error => With patch : you get results - Import one result => You get the authoritie creation form with all datas You may check same plan with MARC21 install Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Created attachment 34282 [details] [review] Bug 13296: (follow-up) permit grep on AUTHUNIMARC I would prefer not to hide this "stuff". Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
This is critical for UNIMARC users.
Created attachment 34283 [details] [review] Bug 13296: (follow-up) permit grep on AUTHUNIMARC I would prefer not to hide this "stuff". Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Changes look logical, but I can't get the error to appear on my UNIMARC installation. I tried some UNIMARC targets I found, but none seems to work. Bit stuck on this - could you share a connection that works for you?
This doesn't work for me on current master, I retested, but I only get an empty datatable showing lots of pages. There is lots of noise in the logs, not sure what's wrong. Can you please retest your patch on current master?
(In reply to Katrin Fischer from comment #7) > This doesn't work for me on current master, I retested, but I only get an > empty datatable showing lots of pages. There is lots of noise in the logs, > not sure what's wrong. Can you please retest your patch on current master? Retested right now, the table is correctly filled.
Hi Jonathan, I am stuck then with no idea what the problem is :(
Jonathan and I figured the problem out - the syntax in the configuration shoudl have been USMARC, while I had chosen UNIMARC. With USMARC it works alright.
Created attachment 34531 [details] [review] [PASSED QA] Bug 13296 - error when using z3950 with UNIMARC authorities When using a z3950 connexion with UNIMARC authorities, you get an error : Unsupported UNIMARC character encoding [ ] for XML output for UNIMARCAUTH; 100$a -> 20141119 I've seen thant Bug 2060 when adds authorities import adds a special behavior for UNIMARC : marc flavor must be UNIMARCAUTH instead of just UNIMARC. This patch adds the same behavior when using z3950 connexion and import. Test plan : - Use a UNIMARC install - Define a z3950 connexion for UNIMARC authorities - Go to Authorities module - Click on "New from Z39.50" - Perform a search => Without patch : you get the error => With patch : you get results - Import one result => You get the authoritie creation form with all datas You may check same plan with MARC21 install Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> NOTE: depending on the target, the syntax in the configuration might not be UNIMARC, but MARC21/USMARC instead!
Created attachment 34532 [details] [review] [PASSED QA] Bug 13296: (follow-up) permit grep on AUTHUNIMARC I would prefer not to hide this "stuff". Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Patches pushed to master. Thanks Frido!
Pushed to 3.18.x, will be in 3.18.2
(In reply to Chris Cormack from comment #14) > Pushed to 3.18.x, will be in 3.18.2 Pushed to 3.16.x, will be in 3.16.6
Pushed to 3.14.x, will be in 3.14.13