-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PIMS-2135 Bulk Upload Worker Bug #2723
Conversation
Code Climate has analyzed commit 559db32 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 50.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 93.4%. View more on Code Climate. |
🚀 Deployment Information The Express API Image has been built with the tag: |
🚀 Deployment Information The React APP Image has been built with the tag: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updates to process fix the error that was occurring.
One side note to devs (made in Teams chat) to ensure their import_result table is cleaned before attempting to use the bulk upload feature.
No new issues detected.
🎯 Summary
PIMS-2135
There was an issue with the bulk upload that was caused when moving the authentication checks out of Keycloak.
Two problems:
hasOneOfRoles
function attached. Workers apparently cannot pass functions, promises, steams, etc.Changes
hasOneOfRoles
function before it is passed into the worker. It's not used further in this process, and the type is marked only as User to reflect that.Testing
🔰 Checklist