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
Bug reproduced.
Created attachment 55275 [details] [review] 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
Created attachment 55363 [details] [review] [SIGNED-OFF] 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>
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>
Pushed to master for 16.11, thanks Jonathan!
Pushed in 16.05. Will be in 16.05.04.