Sure Fabien,

This is the test I ran:

- create a new project using the latest build (r 3010)
- create an app 'admin'
- create a module 'fillin'
- create these actions:

class fillinActions extends sfActions
{
  /**
   * Executes index action
   *
   */
  public function executeIndex()
  {
  }

  public function executeUpdate()
  {
    $this->forward('fillin', 'index');
  }

  public function handleErrorUpdate()
  {
    $this->forward('fillin', 'index');
  }
}

- create this indexSuccess.php template: 

<?php if ($sf_request->hasErrors()) {
  foreach($sf_request->getErrors() as $error) {
    echo $error . "<br/>";
  }
} ?>

<?php echo form_tag("fillin/update", "id=myform name=myform"); ?>
  First name: <?php echo input_tag('first_name'); ?><br/>
  Last name: <?php echo input_tag('last_name'); ?><br/>

  <?php echo submit_tag('Update'); ?>
</form>


- create update.yml in validation :
fields:
  first_name:
    required:
      msg:   The first name field cannot be left blank

  last_name:
    required:
      msg:   The last name field cannot be left blank

fillin:
  enabled:  on   # enable the form repopulation
  param:
    name: myform   # name of the form


This all works if I svn downgrade symfony to a version before r2942 and
stops working again if I update to latest release (or any release from r2942
on).  Switching between r2941 and r2942 dis/enables the fillin filter.

Gert.



-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of Fabien POTENCIER
Sent: zondag 10 december 2006 11:45
To: [email protected]
Subject: [symfony-devs] Re: fillInFilters stopped working in 2942


Can you give us more information? Can you give a test case?

Fabien

Gert Vrebos wrote:
> My fillin filters stopped working after the fix in r2942.
> 
> Does anybody experience the same ?
> 
>  
> 
> Cheers,
> 
> Gert.
> 
>  
> 
> 
> > 



--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to