[Koha-bugs] [Bug 11299] Add a button that automatically links authority records to a biblio record during edition. (AJAX)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jul 8 14:28:51 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11299
--- Comment #19 from Maxime Beaulieu <maxime.beaulieu at inlibro.com> ---
Created attachment 40831
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40831&action=edit
Bug 11299 - Follow-up to QA failure
Fixes problems reported by koha-qa
use Modern::Perl
Changed required permission to editauthorities
pertidy cataloguing/automatic_linker.pl
Testing scenario (Creating an authority record for a failed automatic link) :
* In you system preferences, deactivate the "AutoCreateAuthorities" preference.
* Go to the biblio record creation form to create a new biblio record.
(koha/cataloguing/addbiblio.pl)
* Click the "Link authorities automatically" button. A message should appear,
telling the user "No authority link was changed."
* Add random informations in field 600$a of the biblio record.
* Click the "Link authorities automatically" button. The message box should now
show "600 - No matching authority found." if no matching authority was found.
For this scenario, we want the authority match to have failed.
* The 600$9 field should now be red and icons should have appeared next to it.
Click on the "create authority" icon.
* A popup should appear, containing a "Modify authority" form. The form should
be pre-filled, a the informations in the 600$a field of the biblio should be in
the 100$a field of this new authority record.
* Click the "Save" button
* The 600$9 field in the biblio record should now be back to normal and have
the authid of the authority record that was just created.
* Click the "Link authorities automatically" button again. The message box
should now show "No authority link was changed.".
I tried it and got the expected results.
(In reply to Jonathan Druart from comment #18)
> 5/ * Click the "Link authorities automatically" button. A message should appear, telling the user "No authority link was changed."
>
> No, I got
> Automatic authority link results:
> 700 - No matching authority found.
> ...
Jonathan, did you create the biblio from scratch?
The record you tested probably had data in the 700 field.
Tests will be included in a future patch.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list