-
Notifications
You must be signed in to change notification settings - Fork 6
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-9509: Revert deprecation of custom attributes labels extractor #204
base: 4.6
Are you sure you want to change the base?
Conversation
|
@@ -55,7 +52,7 @@ public function extract(): MessageCatalogue | |||
$catalogue->add($this->createMessage(self::CLASS_LABEL_MESSAGE_ID, 'Class')); | |||
|
|||
foreach ($this->siteAccessList as $scope) { | |||
if (!$this->configResolver->hasParameter(RichText::ATTRIBUTES_SA_SETTINGS_ID)) { | |||
if (!$this->configResolver->hasParameter(RichText::ATTRIBUTES_SA_SETTINGS_ID, null, $scope)) { |
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.
Here I'm not sure if extraction should be done in some other way, as without this change none of custom attributes are extracted (as in yaml example in docs https://doc.ibexa.co/en/latest/content_management/rich_text/extend_online_editor/#custom-data-attributes they're in admin_group
and default scope for hasParameter
is site
, at least from my little investigation.
So someone from backend has to verify it 100%. :)
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.
It make sense for me.
Description:
When doing merge up there will be need for extra work, as this class was removed in 5.0 #185
For QA:
Documentation: