https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16994

--- Comment #7 from Arthur Suzuki <[email protected]> ---
Created attachment 190561
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190561&action=edit
Bug 16994: Import and export MARC modification templates

This patch adds export and import functions to the MarcModificationTemplates
tools
The different templates can be exported either individually or all of them.
On import you can choose to either skip or overwrite existing templates with
the same name.

Test plan:
- create a Marc Modification templates with one field creation action.
- click on "Export all" in the menu and save the file on your computer.
- add a new action in the template (ie, update field).
- click on "Import" in the menu and choose the downloaded file.
- by default the import tool doesn't overwrite
- there should be a message saying "skipped 1 template"
- the template should still have 2 actions.
- import the same file again but uncheck the "skip existing template".
- this time the template should be back to only one action.
- delete the template
- import the same file again, the template should be back with a single action.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to