Development

Changeset 17242

You must first sign up to be able to contribute.

Changeset 17242

Show
Ignore:
Timestamp:
04/12/09 22:30:03 (4 years ago)
Author:
Kris.Wallsmith
Message:

[sfViewableFormPlugin] fixed error messages sent as JSON response

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfViewableFormPlugin/trunk/lib/form/sfViewableForm.class.php

    r17179 r17242  
    209209      else 
    210210      { 
    211         $array[$field] = $error->getMessage(); 
     211        $array[$field] = strtr($error->getMessageFormat(), $error->getArguments()); 
    212212      } 
    213213    } 
     
    222222      else 
    223223      { 
    224         $global[] = $error->getMessage(); 
     224        $array[$field] = strtr($error->getMessageFormat(), $error->getArguments()); 
    225225      } 
    226226    } 
  • plugins/sfViewableFormPlugin/trunk/package.xml.tmpl

    r17171 r17242  
    5454      </stability> 
    5555      <license uri="http://www.symfony-project.com/license">MIT license</license> 
    56       <date>2009-04-09</date> 
     56      <date><!-- soon --></date> 
    5757      <license>MIT</license> 
    5858      <notes> 
     59        * Kris.Wallsmith: Added `->loadConfig()` for use in unit tests 
     60        * Kris.Wallsmith: Added experimental routing markup a la markdown 
    5961        * Kris.Wallsmith: Added test for reserved field names 
    6062        * Kris.Wallsmith: Added setting of form formatters