Bug 17206

Summary: Can't switch to default framework
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: CatalogingAssignee: Jonathan Druart <jonathan.druart>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: f.demians, jonathan.druart, kyle, m.de.rooy, veron
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17194
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 17206: Fix switch to default framework
[SIGNED-OFF] Bug 17206: Fix switch to default framework
[PASSED QA] Bug 17206: Fix switch to default framework

Description Katrin Fischer 2016-08-28 21:51:14 UTC
To test:
- Create a record using the Fast add framework
- Save the record
- Open the record for editing
- Use the "Settings" pull down to change the framework to default
- Note: page reloads, but framework doesn't change
- Try another framework - it works
- Try changing to default from there
- Notice it switches back to FA
Comment 1 Marc Véron 2016-09-02 09:11:35 UTC
Bug reproduced.
Comment 2 Jonathan Druart 2016-09-07 09:34:40 UTC Comment hidden (obsolete)
Comment 3 Owen Leonard 2016-09-08 16:29:25 UTC Comment hidden (obsolete)
Comment 4 Katrin Fischer 2016-09-10 07:14:56 UTC
Created attachment 55455 [details] [review]
[PASSED QA] Bug 17206: Fix switch to default framework

When editing a bibliographic record, if you switch the framework to
default, the page is reloaded but the framework is not changed.
From the pl script, you can see that the frameworkcode is set to the one
of the biblio if set to false. The empty string, which means default,
should be taken into account.

Test plan:
- Create a record using the Fast add framework
- Save the record
- Open the record for editing
- Use the "Settings" pull down to change the framework to default
- Try another framework
- Try changing to default from there

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer  <katrin.fischer@bsz-bw.de>
Comment 5 Kyle M Hall 2016-09-12 10:02:04 UTC
Pushed to master for 16.11, thanks Jonathan!
Comment 6 Frédéric Demians 2016-09-13 07:45:23 UTC
Pushed in 16.05. Will be in 16.05.04.