Changeset 2685

Show
Ignore:
Timestamp:
08/20/08 11:00:32 (5 months ago)
Author:
david
Message:

Allow ignoring of (X)HTML parse errors in FPF (through "ignore_parse_errors" parameter), closes #613

Location:
branches/0.11
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/0.11/CHANGELOG

    r2675 r2685  
    55---------------------------- 
    66 
     7ADD: Allow ignoring of (X)HTML parse errors in FPF (#613) (David) 
    78ADD: Set current Context instance on Doctrine connections (#800, #808) (David) 
    89ADD: Support for doctrine connection settings and options (#788) (David) 
  • branches/0.11/src/filter/AgaviFormPopulationFilter.class.php

    r2519 r2685  
    192192        $lm->log($m, $cfg['logging_logger']); 
    193193      } 
     194       
     195      // all in all, that didn't go so well. let's see if we should just silently abort instead of throwin an exception 
     196      if($cfg['ignore_parse_errors']) { 
     197        return; 
     198      } 
     199       
    194200      throw new AgaviParseException($emsg); 
    195201    } 
     
    911917      'multi_field_error_messages' => array(), 
    912918 
     919      'ignore_parse_errors'        => false, 
    913920      'log_parse_errors'           => true, 
    914921      'logging_severity'           => AgaviLogger::FATAL,