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-9509: Revert deprecation of custom attributes labels extractor #204

Open
wants to merge 1 commit into
base: 4.6
Choose a base branch
from

Conversation

GrabowskiM
Copy link
Contributor

🎫 Issue IBX-9509

Description:

When doing merge up there will be need for extra work, as this class was removed in 5.0 #185

For QA:

Documentation:

@GrabowskiM GrabowskiM requested review from adamwojs and a team February 6, 2025 14:14
Copy link

sonarqubecloud bot commented Feb 6, 2025

@@ -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)) {
Copy link
Contributor Author

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%. :)

Copy link
Member

@adamwojs adamwojs Feb 7, 2025

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.

@Steveb-p Steveb-p changed the title IBX-9509: Revert depracation of custom attributes labels extractor IBX-9509: Revert deprecation of custom attributes labels extractor Feb 7, 2025
@adamwojs adamwojs requested a review from a team February 7, 2025 09:37
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.

6 participants