Skip to content
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

IBX-9511: Fixed incorrect object type in PolicyValueResolver #1442

Merged
merged 2 commits into from
Feb 7, 2025

Conversation

alongosz
Copy link
Member

@alongosz alongosz commented Feb 7, 2025

🎫 Issue IBX-9511

Related PRs:

Description:

This PR fixes incorrect expectation and usage of object returned by RoleService::loadRole API.
I can't find any occurence where that API would return RoleDraft instead of Role. For that we have a separate API.

So, that means we need more extensive manual QA, because maybe I'm missing something.

Note: Behat fails due to unmerged DXP PRs.

For QA:

PolicyValueResolver is used for Admin -> Roles:

  • update policy
  • delete policy

however it would be nice to have here more manual tests around that module, as there's probably a reson the code was written as it was.

Copy link

sonarqubecloud bot commented Feb 7, 2025

@alongosz alongosz requested a review from a team February 7, 2025 09:13
@adamwojs adamwojs requested a review from a team February 7, 2025 11:24
Copy link
Contributor

@tomaszszopinski tomaszszopinski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA approved on Ibexa DXP 5.0 oss

@adamwojs adamwojs merged commit 2b0a7ee into main Feb 7, 2025
17 of 24 checks passed
@adamwojs adamwojs deleted the ibx-9511-fix-policy-value-resolver branch February 7, 2025 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants