Skip to content

Conversation

@Sztig
Copy link
Contributor

@Sztig Sztig commented Jan 26, 2026

🎫 Issue IBX-10734

Description:

When creating new content type and adding selection field, it immediately tries to parse this field through converter, obviously on initial setup this field will be empty.
On certain versions of libxml2 like 2.13.8, function simplexml_load_string will throw an exception when the parameter is null.
I've added a check on $mlData->dataText to avoid this exception.

@Sztig Sztig requested a review from a team January 26, 2026 15:09
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
D Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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.

1 participant