Details
-
Bug
-
Status: Closed (View Workflow)
-
P1
-
Resolution: Won't Do
-
23.0.11
-
None
-
Lotus HF 3
- Circulation Module (mod-circulation-23.0.11)
- Circulation Storage Module (mod-circulation-storage-14.0.2)
-
Vega
-
Morning Glory (R2 2022) Hot Fix #1
-
Yes
-
!!!ALL!!!
-
Not a bug
Description
Overview:
Calling of API endpoint DELETE /circulation/loans with query params (for eg: /circulation/loans?query=(loanId=={id})%20sortby%20id&limit=2000 ) triggers bulk deletion of all the loans.
Steps to Reproduce:
- Call the DELETE /circulation/loans with query params.
- It triggers the bulk DELETE api endpoint /circulation/loans and all loans are deleted.
- Log into Lotus FOLIO environment to verify.
- Go to Users app-Check loans for any user- No loans are there.
Expected Results:
Bulk Delete endpoint /circulation/loans is only triggered when it is called explicitly and is not triggered if there are any query params or other params specified after /circulation/loans.
Actual Results:
Bulk Delete endpoint /circulation/loans is triggered when called with query params.
Additional Information:
Lotus HF 3
- Circulation Module (mod-circulation-23.0.11)
- Circulation Storage Module (mod-circulation-storage-14.0.2)
Interested parties: