Bug #41525

Fields Validated in Controller not highlightet, just Error shown

Added by Martin Ebeling about 9 years ago. Updated almost 9 years ago.

Should have
Target version:
Start date:
Due date:
% Done:


Estimated time:


Fields are not highlighted if Validation is at ControllerAction like

  • @param string $name
  • @FLOW3\Validate(argumentName="name", type="NotEmpty")
  • @param string $email
  • @FLOW3\Validate(argumentName="email", type="NotEmpty")
  • @FLOW3\Validate(argumentName="email", type="EmailAddress")
  • @return void
    public function createAction($name, $email) {

Just these errors are shown

name: 1221560718 : This property is required.
email: 1221560718 : This property is required.
Errors occurred

Please check the highlighted fields below!

For getting these errors shown in View, I mainly copied the partials from the ConferencePackage

Mainly I tried to have a form where I create an Person, extended to a student class.
The Errors validated in the StudentModel are shown in the form.

Additional to that I need to have PersonName also Validatet, without putting all these fields in the extended personClass.


Updated by Martin Ebeling about 9 years ago

  • % Done changed from 0 to 100

Ok, my fault.

After calling the validation with the variable ("$email", ...) the errors are shown...

I think this can be closed.


Updated by Christian Müller almost 9 years ago

  • Status changed from New to Closed

Also available in: Atom PDF