Bug Report #2567

Object data doesn't get validated when using an external validation object

Added by Isaiah DeRose-Wilson almost 5 years ago. Updated almost 5 years ago.

Status:FeedbackStart date:02/14/2010
Priority:NormalDue date:
Assignee:Isaiah DeRose-Wilson% Done:

0%

Category:-
Target version:2.0
Resolution: Points:

Description

If you use an external validation object data already in the object won't get validated.

Example:

    $obj->example = 'something';
    $obj->validate(new Validation(array()); // example is ignored here

The validate() function should merge in the current object's data before running the validation

History

#1 Updated by Isaiah DeRose-Wilson almost 5 years ago

  • Status changed from Assigned to Feedback

Fixed in r8

Also available in: Atom PDF