#1151: AgaviValidationReportQuery::getResult() possibly throws a notices when 
used
with byValidator queries
------------------------+---------------------------------------------------
 Reporter:  dominik     |       Owner:  dominik 
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:  1.0.2   
Component:  validation  |     Version:  HEAD-1.0
 Severity:  major       |    Keywords:          
Has_patch:  0           |  
------------------------+---------------------------------------------------
Description changed by dominik:

Old description:

> to reproduce simply call
> {{{$this->container->getValidationManager()->getReport()->byValidator('some
> unsued validator name')->getResult();}}}
> in an error view

New description:

 This is more complex then i initially thought.
 It seems to happen every time if no validator with the requested name
 exists or the validator has required=false set

 to reproduce place
 {{{$this->container->getValidationManager()->getReport()->byValidator('some
 unsued validator name')->getResult();}}}
 in an error view

--

-- 
Ticket URL: <http://trac.agavi.org/ticket/1151#comment:2>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5



_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to