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

--- Comment #3 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 207968
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207968&action=edit
Bug 30800: Add GET route for a single import batch profile

This patch adds a GET route for fetching a single import batch
profile, used by the import profiles management page added in the
following patches.

Test plan (for the whole feature):
1. Apply the patches of bugs 43794 and 43795 first, then the
   patches of this bug
2. yarn build; restart_all
3. prove t/db_dependent/api/v1/import_batch_profiles.t
4. As a superlibrarian, open the Cataloging home page: confirm
   "Import profiles" appears in the Import group, and click it
5. Add a profile, filling all fields; confirm it is listed showing
   the matching rule and modification template names
6. Edit the profile and confirm the changes are saved
7. Duplicate the profile: the form opens pre-filled with the name
   "Copy of ..."; save it
8. Delete one profile: the confirmation notes that already staged
   batches are unaffected
9. Confirm Tools > Stage MARC records for import still offers the
   profiles
10. Log in as a user without the stage_marc_import permission:
    there is no "Import profiles" menu entry and the page says you
    do not have permission to access it
11. yarn cypress run --spec \
    t/cypress/integration/Cataloguing/ImportProfiles_spec.ts

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to