[Koha-bugs] [Bug 30719] ILL should provide the ability to create batch requests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 28 17:39:29 CET 2022


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

--- Comment #14 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Apply all current 5 patches, on ktd, preparation:
- Run DBIC
- Run reset_all
- Enable ILLModule sys pref
- Default ILLLIBS patron category needs to exist, create that
- At least one ILL batch status needs to exist, admin -> ILL batch statuses,
create for example name:NEW status:NEW
- At least one ILL Backend with "provide_batch_requests" capability needs to
exist, create ReprintsDesk backend from
https://github.com/PTFS-Europe/koha-ill-reprintsdesk
- Install ReprintsDesk backend dependencies: cpan XML::Compile XML::Smart
XML::Compile:WSDL11 XML::Compile::SOAP12
- Need to restart plack here
- Update backend_directory in koha-conf.xml to
<backend_directory>/kohadevbox/koha/Koha/Illbackends</backend_directory>
- Need to restart plack here
- Install metadata enrichment plugin pubmedid from
https://github.com/PTFS-Europe/koha-plugin-api-pubmed/releases/tag/1.1.0
through "Manage plugins" in admin
- Need to restart plack here
- Go to ILL Requests admin area, click "New ILL batch request" and select
ReprintsDesk
- Create new batch (insert name, cardnumber and library) and press "continue"
- Add PubMed ID, one per line (example: 23668524\n29710265) and press "Process
identifiers"
- After processing is complete, click "add items to batch" and then "finish and
view batch"

Verify that:
- The items requested in the batch are now illrequests in Koha, and are part of
the batch that was just created
- Clicking on "Batch requests" lists all batch requests created
- Clicking on a batch name lists only the requests from that batch
- If a batch is deleted, whatever requests previously on that batch are not
deleted (they have been detached, their batch_id is now NULL)
- When editing a request that is part of a batch, it's possible to change which
batch the request is part of, or none.

Test logs:
- Before doing the above, enable illlog sys pref
- Do some CRUD actions on batch requests
- Check log viewer -> module "Interlibrary loans"
- Verify that the actions performed have been logged

Run tests:
perl t/db_dependent/Illbatches.t
perl t/db_dependent/Illbatchstatuses.t #currently failing, will check why soon

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list