-
Notifications
You must be signed in to change notification settings - Fork 29
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-7809: Fixed passing locationId
instead of contentId
when creating UserMetadata
criterion from UserGroupLimitationType
level
#403
Conversation
…ting `UserMetadata` criterion from `UserGroupLimitationType` level
Discussing best way to add test coverage. |
Added test case covering the scenario described in the JIRA ticket (it fails without introducing the actual fix). |
Note: CI is failing. |
|
efa242f
to
001e9e6
Compare
Quality Gate passedIssues Measures |
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.
QA approved on IbexaDXP on 3.3 oss & content (ES)
v3.3
,4.5
,4.6
Apparently,
UserGroupLimitationType
contains a wrong usage ofUserMetadata
criterion - it works with content ids whereas ids of parent locations were passed. That resulted in empty subitems list whenContent Type Group: Self
limitation was put in place - it basically converts to the mentioned criterion but simply populates wrong parameters.Checklist:
$ composer fix-cs
).@ezsystems/engineering-team
).