http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3087
--- Comment #29 from Paul Poulain <[email protected]> --- Testing this feature before pushing, I tried what all the existing UNIMARC libraries will do: just update the code. If you do that, and don't update your koha-zebra configuration files, you get a very nasty: Error: Can't call method "raw" on an undefined value at /home/paul/koha.dev/koha-community/C4/Search.pm line 461. (on staff as well as on OPAC) I think it's what I should expect, because the preferredRecordSyntax is now: $context->{ Zconn }->{ $server }->option( preferredRecordSyntax => C4::Context->preference("marcflavour") ); so UNIMARC in my case, and, of course, the retrieval syntax is still usmarc :(( * grepping zebra conf: grep -R "syntax=\"usmarc\"" * show that 4 files are concerned: Using sed to update the configuration: sed -i "s/syntax=\"usmarc\"/syntax=\"unimarc\"/" koha-conf.xml sed -i "s/syntax=\"usmarc\"/syntax=\"unimarc\"/" zebradb/retrieval-info-bib-dom.xml sed -i "s/syntax=\"usmarc\"/syntax=\"unimarc\"/" zebradb/retrieval-info-auth-grs1.xml sed -i "s/syntax=\"usmarc\"/syntax=\"unimarc\"/" zebradb/retrieval-info-auth-dom.xml * grep -R "syntax=\"usmarc\"" * tells me that there is more syntax="unimarc" in my configuration files * restarting zebra * restarting plack * searching ... strike ! it works again QUESTION BEFORE PUSHING = how to announce as widely as possible the configuration change in 3.10 ? just in the Release Notes ? a specific entry on koha-community.org ? I plan to announce that widely to the french community, of course but Unimarc is not only france ;-) waiting for your ideas before pushing (and, once pushed, I'll have to send a mail in // to koha-devel & tweet for unimarc developers ! -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
