Go to Google Groups Home    doctrine-svn
[Doctrine] #1652: New constant 'Doctrine::VALIDATE_USER'

Doctrine <no-re...@phpdoctrine.org>

#1652: New constant 'Doctrine::VALIDATE_USER'
-----------------------------------+--------------------------------------- -
 Reporter:  floriank               |       Owner:  jwage  
     Type:  enhancement            |      Status:  new    
 Priority:  minor                  |   Milestone:  1.1.0  
Component:  Attributes             |     Version:  1.1-DEV
 Keywords:  validation             |    Has_test:  1      
 Mystatus:  Pending Core Response  |   Has_patch:  1      
-----------------------------------+--------------------------------------- -
 I'm missing a constant to control validation process in Doctrine to only
 check self-written Record->validate() methods without validating datatypes
 / lengths / constraints (see testcase).

 A possible solution would be to add a constant Doctrine::VALIDATE_USER
 (see patch). This patch breaks none of the testcases in Doctrine 1.1's
 testsuite.

--
Ticket URL: <http://trac.doctrine-project.org/ticket/1652>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper