Summary: | Request migration from one backend to another should not create new request | ||
---|---|---|---|
Product: | Koha | Reporter: | Andrew Isherwood <bugzilla> |
Component: | ILL | Assignee: | Andrew Isherwood <bugzilla> |
Status: | CLOSED FIXED | QA Contact: | Nick Clemens (kidclamp) <nick> |
Severity: | normal | ||
Priority: | P5 - low | CC: | janet.mcgowan, jonathan.druart, kyle, magnus, martin.renvoize, Niamh.WalkerHeadon, nick |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
21.11.00
|
|
Circulation function: | |||
Attachments: |
Bug 22614: Migrate original request
Bug 22614: Migrate original request Bug 22614: Migrate original request Bug 22614: Migrate original request |
Description
Andrew Isherwood
2019-04-01 13:06:16 UTC
Created attachment 87277 [details] [review] Bug 22614: Migrate original request This patch changes an active request's backend and initiates the migration on that request, rather than creating another and migrating that. The majority of the work to accomplish this bug is being carried out in the backends, since Koha delegates migrations to them. Created attachment 87357 [details] [review] Bug 22614: Migrate original request This patch changes an active request's backend and initiates the migration on that request, rather than creating another and migrating that. The majority of the work to accomplish this bug is being carried out in the backends, since Koha delegates migrations to them. Test plan: - Apply the patch - Install the FreeForm and BLDSS backends (note, these links are to the 'bug_22614_migrate_original_request' branches for these backends): - https://github.com/PTFS-Europe/koha-ill-bldss/tree/bug_22614_migrate_original_request - https://github.com/PTFS-Europe/koha-ill-freeform/tree/bug_22614_migrate_original_request - Create a request using the FreeForm backend. - On the "Manage request" screen, choose "Switch provider" > "BLDSS" - Choose an appropriate search result from the BLDSS results - TEST => Observe that the request is now displaying as originating from the BLDSS and containing metadata from the BLDSS. - Choose "ILL request log" - TEST => Observe that the log displays 'Status changed from "New request" to "Switched provider"' - TEST => Observe that the log displays 'Switched provider from "FreeForm" to "BLDSS"' - Create a request using the BLDSS backend. - On the "Manage request" screen, choose "Switch provider" > "FreeForm" - TEST => Observe that the request is now displaying as originating from FreeForm and has preserved the BLDSS metadata. - Choose "ILL request log" - TEST => Observe that the log displays 'Status changed from "New request" to "Switched provider"' - TEST => Observe that the log displays 'Switched provider from "BLDSS" to "FreeForm"' Still applies Created attachment 122645 [details] [review] Bug 22614: Migrate original request This patch changes an active request's backend and initiates the migration on that request, rather than creating another and migrating that. The majority of the work to accomplish this bug is being carried out in the backends, since Koha delegates migrations to them. Signed-off-by: Barry Cannon <bc@interleaf.ie> Signed-off-by: Assumpta Byrne <abyrne@ait.ie> Created attachment 123342 [details] [review] Bug 22614: Migrate original request This patch changes an active request's backend and initiates the migration on that request, rather than creating another and migrating that. The majority of the work to accomplish this bug is being carried out in the backends, since Koha delegates migrations to them. Signed-off-by: Barry Cannon <bc@interleaf.ie> Signed-off-by: Assumpta Byrne <abyrne@ait.ie> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Pushed to master for 21.11, thanks to everybody involved! |