Aleisha Amohia <> changed:

           What    |Removed                     |Added
  Attachment #54900|0                           |1
        is obsolete|                            |

--- Comment #27 from Aleisha Amohia <> ---
Created attachment 57873
Bug 13952: Import and export authority types

This patch amends C4::ImportExportFramework to work for authority types as well
as MARC frameworks.
New file: admin/
Update: Ensuring we are passing the right column to the right tables.
Update2: Making the error messages the same to be consistent with patch on Bug
Update3: Fixing merge conflicts
Update4: Fixing merge conflicts and removing tabs
Update5: Getting rid of warns, making sure Import and Export of default
authority will work
Update6: Merge conflicts and making sure export of default auth type

To test:
1) Go to Admin -> Authority types
2) Confirm there are two new columns 'Export' and 'Import' in the table
3) Click 'Export' on an existing authority type and choose a file type, click
4) Confirm that the authority type is exported as your chosen file type. Save
the file
5) Create a new authority type
    Before you import, make sure that the authtypecode of the file you
    are going to import matches the Code of your new authority type. Use
    Vim or something similar to do a search and replace and change the
    codes in your file - do NOT use LibreOffice etc. because it tries to
    be too helpful and messes with the formatting of the file (this is what has
    broken the Import function in previous testing of this patch)
7) Import into your new authority type using the file you just exported
(make sure you've done Step 6)
8) Confirm you are taken to
9) Go back to Authority types
10) Click 'Import' next to any existing authority type and attempt to import a
file that is not XML, CSV or ODS. Confirm that this fails and you are asked to
import a file of the correct file type
11) Confirm Export and Import work for the Default authority type
12) Go to Admin -> MARC bibliographic framework
13) Confirm that the 'Export' and 'Import' functions still work here as well

Sponsored-by: Catalyst IT

You are receiving this mail because:
You are watching all bug changes.
Koha-bugs mailing list
website :
git :
bugs :

Reply via email to