Feature #13066

Override/Set Validation in extending class (Inheritance)

Added by Peter Niederlag over 2 years ago. Updated 20 days ago.

Status:New Start date:2011-02-15
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:Extbase: Validation
Target version:Extbase 6.3
Has patch:No Tags:
Votes: 0

Description

Seems not to work as expected


class Tx_Geniale_Domain_Model_Person extends Tx_Extbase_Domain_Model_FrontendUser {
}

Now I'd like to add a validation on 'email', which is provided in 'Tx_Extbase_Domain_Model_FrontendUser'.

a simple test

 /**
  * @var string
  * @validate EmailAddress
  */
  protected $email;

results in:

#1255072587: The form field name "tx_geniale_pi1[person]" collides with a previous form field name which declared the field as array. (Array overridden by String)

History

Updated by Marc Bastian Heinrichs over 2 years ago

  • Category set to Extbase: Validation

Updated by Alexander Schnitzler about 1 month ago

  • Target version set to Extbase 6.2
  • Has patch set to No

Updated by Anja Leichsenring 20 days ago

  • Target version changed from Extbase 6.2 to Extbase 6.3

Also available in: Atom PDF