Crash when PublishTime field is used, but not filled

Description

Save content without entering a PublishTime:

Catchable Fatal Error: Argument 1 passed to Integrated\Bundle\ContentBundle\Form\Type\PublishTimeType::Integrated\Bundle\ContentBundle\Form\Type{closure}() must be an instance of Integrated\Bundle\ContentBundle\Document\Content\Embedded\PublishTime, null given, called in /home/integratedfordevelopers/vendor/symfony/symfony/src/Symfony/Component/Validator/Constraints/CallbackValidator.php on line 54 and defined

Technical tasks

None

Deployment actions

None

Activity

Show:
Ger Jan van den Bosch
August 25, 2015, 2:45 PM

I can't reproduce this error. Can you provide an example?

Assignee

Unassigned

External issue ID

None

Client

Marijn Otte

Min. hours

None

Dev hour estimate

None

Fix versions

Configure