#1343: Disable failed validator's field removal.
-------------------------+--------------------------------------------------
 Reporter:  saracen      |       Owner:  david              
     Type:  enhancement  |      Status:  new                
 Priority:  normal       |   Milestone:  1.0.5              
Component:  _OTHER_      |     Version:  1.0.4              
 Severity:  normal       |    Keywords:  validation severity
Has_patch:  0            |  
-------------------------+--------------------------------------------------
 Take:
 {{{
 <validator class="Something">
    <argument>foo</argument>
    <ae:parameter name="export">BAR</ae:parameter>
 </validator>

 <validator class="SomethingExtra">
    <argument>BAR</argument>
    <error>Insert comical error message here</error>
 </validator>
 }}}

 I want to get to the error view, but have BAR exist. But, if
 SomethingExtra fails, the field is removed.

 There doesn't appear to be a severity type for triggering an error and
 keeping the field.

 A new severity type which supports this behaviour would be nice. Or some
 other method of doing so:
 {{{
 <ae:parameter name="leave_my_shit_alone">true</ae:parameter>
 }}}

-- 
Ticket URL: <http://trac.agavi.org/ticket/1343>
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