You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have custom ContentValidator returning a dummy ConstraintViolation
eg: in bolt core source, change src/Validator/ContentValidator.php validate() method to:
public function validate(Content $content)
{
$constraints = $this->getConstraints($content->getContentType());
$constraints->add(new ConstraintViolation("zzz", null, [], null, null, null));
return $constraints;
}
Have a Redactor field for a contenttype
Open page to create/edit record
Populate Redactor field
Save record
Upon reload, Redactor field value is not displayed.
Example form before save:
Example form after save:
The text was updated successfully, but these errors were encountered:
Probably same issue as:
bolt/article#38
Reproduce:
eg: in bolt core source, change
src/Validator/ContentValidator.php
validate() method to:Example form before save:
Example form after save:
The text was updated successfully, but these errors were encountered: