Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
None
-
CP: sprint 123
-
Core: Platform
Description
Overview:
mod-patron-blocks's ModuleDescriptor likely needs to be updated based on changes from optimistic locking on snapshot.
Steps to Reproduce:
- Clone the FAT repo: https://github.com/folio-org/folio-integration-tests
- Check out this branch: https://github.com/folio-org/folio-integration-tests/tree/core-platform-team-optimistic-locking
- Run the following command: ./runtests.sh mod-patron-blocks scratch
- Look in the logs for a request like this (not this exact request since the tenant will be auto generated): https://core-platform-okapi.ci.folio.org:443/_/proxy/tenants/testenant1033762027491197952/install?tenantParameters=loadSample%3Dfalse%2CloadReference%3Dfalse
The okapi error returned is:
Incompatible version for module mod-inventory-17.1.0-coreplatform.1 interface
item-storage. Need 8.9. Have 9.0/mod-inventory-storage-22.0.0-coreplatform.1.
Incompatible version for module mod-inventory-17.1.0-coreplatform.1 interface
instance-storage. Need 7.8. Have 8.0/mod-inventory-storage-22.0.0-coreplatform.1.
Incompatible version for module mod-inventory-17.1.0-coreplatform.1 interface
instance-storage-batch. Need 0.2. Have 1.0/mod-inventory-storage-22.0.0-coreplatform.1.
Incompatible version for module mod-inventory-17.1.0-coreplatform.1 interface
holdings-storage. Need 2.0 3.0 4.0. Have 5.0/mod-inventory-storage-22.0.0-coreplatform.1
I believe that adding version 7.1 to the loan-storage requires section here should fix this: https://github.com/folio-org/mod-patron-blocks/blob/3ada566e382a95ba59ab9db0b5933dcde29a70a8/descriptors/ModuleDescriptor-template.json#L19
Expected Results:
mod-patron-blocks should be registered without an error.
Actual Results:
Okapi returns 422.
Additional Information:
This is part of the work the CP team is doing to test optimistic locking.
Interested parties:
julianladisch , Hanna_Hulevich@epam.com
TestRail: Results
Attachments
Issue Links
- blocks
-
FOLIO-3275 run Karate tests against scratch env with OL enabled
-
- Closed
-