Decided to look at some other validators. Some run 'parent::configure ( $arguments_passed_in), some don't. Seems like the file validator can't possibly work without a path, but the existing configure() function sets it to 'null'
see http://stereointeractive.com/blog/2009/10/04/symfony-doctrine-upload-file-validation-failed/ On Dec 20, 8:35 am, Dennis <gear...@sbcglobal.net> wrote: > As far as I can tell, the code in the function > 'sfFileValidator->configure($options = array(), $messages = array()) > �...@http:// > > trac.symfony-project.org/browser/branches/1.4/lib/validator/ > sfValidatorFile.class.php > > completely ignores the function arguments. So that would make it > impossible to set anything with the 'configure()' function, for > example, the file save path. > > Is this intentional, and the only way to actually set anything with > the configure() function is to override it? > > Symfony developers out there respond? -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.