Bug 19211

Summary: Error when trying to link an authority that has nothing entered under the 'Heading' tag (Tab 1)
Product: Koha Reporter: Aleisha Amohia <aleisha>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: m.de.rooy
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Aleisha Amohia 2017-08-30 21:35:09 UTC
To reproduce

1) Go to Authorities -> Make a new authority. Save all the automatically filled answers by clicking the Save button, don't add anything under tab 1
2) Edit a record
3) Go to tab 1, go to the Main Entry for whichever authority type you created (i.e. personal name or corporate name) and click on the Tag Editor icon for that field
4) Search for your authority. You do not have to enter any search terms
5) Your authority should show up in the results. Click Choose
6) Notice software error.

What suggestions do we have towards a fix for this? I think a good one would be to ensure that at least the 11_a field is filled (the authority name or jurisdiction name for entry element) by making it a required field.
Comment 1 Katrin Fischer 2017-10-08 14:04:43 UTC
I think making the main heading field for each authority type mandatory would be good. (Personal names: 100, etc.)