Actions
Bug #26605
openCurrentUser.queryContext is null when used in a ZIO for
Status:
Pending release
Priority:
N/A
Assignee:
Category:
Architecture - Code maintenance
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
As see in #26599, it seems that the pattern:
(for { ... IOResults things ... _ <- someService(...)(CurrentUser.queryContext) ... } yield (...)).runNow
Leads to having an empty context.
We need to weave-up the implicit context as a method parameter up to the root call site and call `CurrentUser.queryContext` out of the outer-most zio for loop.
Updated by François ARMAND 5 days ago
- Related to Bug #26599: Missing Score pie charts on dashboard added
Updated by François ARMAND 5 days ago
- Status changed from New to In progress
- Assignee set to François ARMAND
Updated by François ARMAND 5 days ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Clark ANDRIANASOLO
- Pull Request set to https://github.com/Normation/rudder/pull/6280
Updated by Anonymous 4 days ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|a7398f797a3d8efe2d164c84e7a9fe527a32ffc6.
Updated by François ARMAND 3 days ago
- Related to Bug #26625: Ubuntu 22.04 agent cannot be accepted on the server added
Actions