Details
-
Bug
-
Status: Closed (View Workflow)
-
TBD
-
Resolution: Done
-
None
-
Firebird Sprint 132
-
0
-
Firebird
-
Lotus R1 2022
-
Caltech, Middle Tennessee State University, Skidmore College, Texas Southmost College, University of Tennessee Martin, Washington College
-
TBD
Description
Overview:
In multi tenant environment FolioExecutionContext is initialized with a new tenant id every time a new job is created from the different tenant. Sometimes, if job launches with async mode, FolioExecutionContext is initialized with tenant id other than id of the tenant this job comes from. It causes a try to update a job that does not exist in this tenant.
Steps to Reproduce:
- Go to Circulation log and apply filter for Loan to have at least a couple of records (for example, Checked out).
- Create another tenant and do Step 1 under user from the new tenant.
- Go to Actions -> Export results (CSV).
- Repeat Step3 at least 20 times and wait for the completion of all jobs.
- Go to Export manager and you may see that a couple of jobs have SCHEDULED status.
- Retrieve logs for mod-data-export-spring and you may see ERROR mentioned in the Description of this bug.
- Retrieve logs for mod-data-export-worker and you may see the following ERROR:
ERROR AbstractStep Encountered an error executing step getCirculationLogPartStep in job CIRCULATION_LOG ... java.lang.IllegalArgumentException: count must be greater than zero
Expected Results:
No mentioned errors in the log, no jobs with SCHEDULED status in multi tenant cluster.
Actual Results:
Jobs are getting stuck with SCHEDULED status, errors in the log.
Additional Information:
This bug appears only in multi tenant environment and can be reproduced on testing as well.
Interested parties:
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-3340 Firebird - Lotus R1 2022 Enhancements/Bugfixes/Tech Debt
-
- Closed
-
- is cloned by
-
MODEXPW-83 Backport for Kiwi HF#2: FolioExecutionContext is initialized with wrong tenant id if Spring Batch job launches asynchronously in multi tenant cluster
-
- Closed
-
- is defined by
-
MODEXPS-59 Fix several tenants usage errors for data export process
-
- Closed
-
-
MODEXPS-76 Backport to Kiwi HF #2 - Fix several tenants usage errors for data export process
-
- Closed
-
- relates to
-
FOLIO-3448 SPIKE: Prevent FolioExecutionContext from being initialized with wrong tenant id
-
- Closed
-
-
MODEXPW-135 Circulation log export shows another tenant/user's data
-
- Closed
-
-
MODEXPW-158 Bulk Edit: FolioExecutionContext is initialized with wrong tenant id if Spring Batch job launches asynchronously in multi tenant cluster
-
- Closed
-
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...