Details
-
Task
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
-
stripes-force 151, stripes-force 156, stripes-force 157
-
Stripes Force
-
Orchid (R1 2023)
-
TBD
Description
Summary: stripes-core does not depend on the inventory Okapi interface; thus it must not contain logic related to data derived from this interface.
Details: Service points leaked into stripes-core by parsing the response from /bl-users/login when its optional dependency on the inventory interface is fulfilled, but stripes-core itself does not depend on this interface and thus should not contain logic related to such data. Instead, the login response should be stored in redux and applications that do rely on inventory can use an event handler attached to the LOGIN event to retrieve that response and operate on it (e.g. UISP-32).
Note: This will be a breaking change because setServicePoints and setCurServicePoint are publicly exported.
TestRail: Results
Attachments
Issue Links
- has to be done after
-
STCOR-649 store raw login response details in redux
-
- Closed
-
-
UISP-32 on login, insert service point details into the session
-
- Closed
-
- relates to
-
FOLIO-3253 SPIKE - Investigate minimal FOLIO platform
-
- Closed
-
-
UIU-2788 refactor service-point handling in withServicePoints
-
- Closed
-