Spin-off from #2002180: Entity forms skip validation of fields that are edited without widgets →
Postponed on
#2429037: Allow adding entity level constraints →
and
#2105797: Add CompositeConstraintBase so that constraints involving multiple fields, such as CommentNameConstraint, can be discovered →
which is postponed on
#2343035: Upgrade validator integration for Symfony versions 2.5+ →
.
EntityFormDisplayInterface::flagViolations()
has been addedFieldableEntityInterface::validate()
now returns EntityConstraintViolationListInterface
instead of ViolationListInterface
(no API change for callers)ContentEntityForm::getEditedFieldNames()
& ContentEntityForm::flagViolations()
for flagging violations for customly added base fieldsThere is the potential for a UI change. If we validate the entire entity and a field that isn't on the form has a violation, we need to inform the user that they need to contact an administrator or something. In other words, we need to tell them that they won't be able to submit the form until all the constraints are passing, including on the fields they don't have access to modify.
We use the following message for that:
+ $message_template = 'The validation failed because the value conflicts with the value in %field_name, which you cannot access.';
Fixed
8.0 ⚰️
It is used for security vulnerabilities which do not need a security advisory. For example, security issues in projects which do not have security advisory coverage, or forward-porting a change already disclosed in a security advisory. See Drupal’s security advisory policy for details. Be careful publicly disclosing security vulnerabilities! Use the “Report a security vulnerability” link in the project page’s sidebar. See how to report a security issue for details.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.