Skip to content

test: use non i18n props for validation endpoint testing#123

Merged
baptistegrimaud merged 1 commit intomainfrom
tests-failing-on-jahia-8.1.7
Jun 5, 2025
Merged

test: use non i18n props for validation endpoint testing#123
baptistegrimaud merged 1 commit intomainfrom
tests-failing-on-jahia-8.1.7

Conversation

@baptistegrimaud
Copy link
Copy Markdown
Contributor

@baptistegrimaud baptistegrimaud commented Jun 3, 2025

Closes #120.
Use simple String non-internationalized properties to test the GraphQL validation endpoint.

The reason behind this change is that currently the nightly tests are failing when running against a Jahia 8.1.7.x (see this run for example).
For some reasons, in Jahia 8.1.7.x, the locale is not passed correctly to the validation process, which results in the validators (in our case, the HtmlFilteringValidator) to not have access to the 81n props, hence not being able to validate them correctly.

@baptistegrimaud baptistegrimaud force-pushed the tests-failing-on-jahia-8.1.7 branch from 8e67fa4 to e879b5b Compare June 3, 2025 16:57
@baptistegrimaud baptistegrimaud marked this pull request as ready for review June 3, 2025 16:59
@baptistegrimaud baptistegrimaud requested a review from a team as a code owner June 3, 2025 16:59
Copy link
Copy Markdown
Contributor

@jkevan jkevan left a comment

Choose a reason for hiding this comment

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

Is there a plan to investigate the i18n property validation issue ?

@baptistegrimaud
Copy link
Copy Markdown
Contributor Author

Is there a plan to investigate the i18n property validation issue ?

#125 has been created

@baptistegrimaud baptistegrimaud merged commit 901c461 into main Jun 5, 2025
19 of 20 checks passed
@baptistegrimaud baptistegrimaud deleted the tests-failing-on-jahia-8.1.7 branch June 5, 2025 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

html-filtering nightly build failures under jahia 8.1.7.0

2 participants