[FLOW3-general] Flow and validation when deleting

Stephan Vidar vidvid at freakmail.de
Mon Feb 4 13:06:00 CET 2013


Hi,

I have a model with propertys. Later I added a validation of a property 
of a model (location).

/**
  * The location
  * @var string
  * @Flow\Validate(type="NotEmpty")
  */
protected $location;

Existing records with an empty string in this property can no longer be 
deleted because the validation to fail:

An error occurred while trying to call 
...Controller\ConcertController->deleteAction(). Error for 
concert.location: This property is required.

Is it a bug or a feature?

Thx, Stephan


More information about the FLOW3-general mailing list