Bug 10947

Summary: Default framework for authorities can't be edited
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: MARC Authority data supportAssignee: Jonathan Druart <jonathan.druart>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: jonathan.druart, tomascohen, veron
Version: Main   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14050
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on:    
Bug Blocks: 14042    
Attachments: Bug 10947: Fix editing the default authority type
[Signed-off] Bug 10947: Fix editing the default authority type
[PASSED QA] Bug 10947: Fix editing the default authority type

Description Katrin Fischer 2013-09-25 15:28:07 UTC
It's currently not possible to change the description or other information about the authority type 'default' because the edit link is not working correctly. Because the default framework has no frameworkcode Koha thinks that you want to add a new framework.
Comment 1 Jonathan Druart 2015-04-22 11:48:10 UTC Comment hidden (obsolete)
Comment 2 Marc Véron 2015-04-22 13:29:41 UTC Comment hidden (obsolete)
Comment 3 Katrin Fischer 2015-04-22 19:17:23 UTC
Created attachment 38358 [details] [review]
[PASSED QA] Bug 10947: Fix editing the default authority type

The default authority type cannot be defined.
The authtypecode is en empty string and the tests should be done on
"defined", not "exist".

Test plan:
Edit the default authority type, save it.

Note: There is no way to create an authority with an empty string, with
you deleted you won't be able to recreate it.

Followed test plan, works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 4 Tomás Cohen Arazi 2015-05-19 12:30:24 UTC
Patch pushed to master.

Thanks Jonathan!