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

EZP-31954: add missed validation error target #164

Merged
merged 1 commit into from
Oct 6, 2020
Merged

EZP-31954: add missed validation error target #164

merged 1 commit into from
Oct 6, 2020

Conversation

ITernovtsii
Copy link
Contributor

@ITernovtsii ITernovtsii commented Sep 25, 2020

Question Answer
JIRA issue EZP-31954
Bug/Improvement yes
New feature no
Target version 1.0
BC breaks no
Tests pass yes
Doc needed no

This is a part of issue with RichText XML validation fails, where fatal error displayed:

Argument 2 passed to Symfony\Component\Validator\Util\PropertyPath::append() must be of the type string, null given, called in /app/vendor/ezsystems/ezplatform-content-forms/src/lib/Validator/Constraints/FieldValueValidator.php on line 92 [in vendor/symfony/validator/Util/PropertyPath.php:34]`

see ezsystems/ezplatform-content-forms#34
I see similar is done for Float field type
https://github.com/ezsystems/ezpublish-kernel/blob/7.5/eZ/Publish/Core/FieldType/Float/Type.php#L125

TODO:

  • Implement feature / fix a bug.
  • Implement tests.
  • Fix new code according to Coding Standards ($ composer fix-cs).
  • Ask for Code Review.

@ITernovtsii ITernovtsii changed the base branch from master to 1.1 September 25, 2020 09:41
@adamwojs
Copy link
Member

adamwojs commented Oct 5, 2020

Hi @ITernovtsiy! 

Thank you for submitting PR. Q: Are unit tests failing here because of missing ezsystems/ezplatform-content-forms#34 changes?

@lserwatka lserwatka merged commit bd87be8 into ezsystems:1.1 Oct 6, 2020
@lserwatka
Copy link
Member

@alongosz could you merge it up?

@alongosz
Copy link
Member

alongosz commented Oct 6, 2020

Merged up to master via bfebb27.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

5 participants