Can somebody tell me if the Ticket #8500 is already solved?
This defect is explained in: http://trac.symfony-project.org/ticket/8500
Please help me!!!
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because
Hi,
by default, when you replace a file using sfWidgetFormInputFileEditable,
the old file is removed from your hard disk.
Where is that code that removes the file??
--
Javi
Ubuntu 8.04 - Symfony 1.3
--
If you want to report a vulnerability issue on symfony, please send it to
security at sy
Hi there,
I just migrated to symfony 1.3, so that could be part of the
explanation, but I can't use the sfWidgetFormInputFileEditable.
in fact, everything seems to go right as field is displayed, but I've
got an empty value in my doSave method.
the way I configured my form is the following:
You're welcome and I'm glad, that is does! :)
Cheers, Daniel
On Jan 8, 2010, at 5:42 PM, g0d br wrote:
> That works Daniel.
>
> Thank You
>
> On Fri, Jan 8, 2010 at 7:46 AM, Daniel Lohse
> wrote:
> Set the validator for this specific field like this:
>
> $this->validatorSchema['imagem
That works Daniel.
Thank You
On Fri, Jan 8, 2010 at 7:46 AM, Daniel Lohse
wrote:
> Set the validator for this specific field like this:
>
> $this->validatorSchema['imagem'] = new sfValidatorFile(array(
> 'required' => $this->isNew(),
> 'path' => ...
> ...
> ));
>
> So the field is only required
Set the validator for this specific field like this:
$this->validatorSchema['imagem'] = new sfValidatorFile(array(
'required' => $this->isNew(),
'path' => ...
...
));
So the field is only required when it's a new object. Is that what
Hi,
I still having this problem.
Im using sfWidgetFormInputFileEditable for a backend form and when i edit
the record with the image i have to choose the image file again otherwise i
get required error for the file.
the problem is that i don wanna change the file but every time i have to
choose
Sorry.
That has to be in your model class
Alecs
sent via htc magic
On Dec 29, 2009 9:05 PM, "Alexandru-Emil Lupu" wrote:
Override your delete method to:
Public function delete(PropelPDO/ DoctrinePDO $con = null)
{
@unlink($this->getFilePath());
Parent::delete($con);
}
Or appropriate to f
Override your delete method to:
Public function delete(PropelPDO/ DoctrinePDO $con = null)
{
@unlink($this->getFilePath());
Parent::delete($con);
}
Or appropriate to fix full path to the file, and also the appropriate db
adaptor.
Alecs
sent via htc magic
On Dec 29, 2009 7:44 PM, "ilcaduceo"
Hi all, I'm using the sfWidgetFormInputFileEditable for simple
uploading of file in the filesystem and then storing name in the
database associated with a model, but I noticed that when I'm editing/
deleting the model the old images remain in the filesystem... I want
that when edit the image in the
i get the error when i try to edit an record.
create and delete works fine but if i try to edit an record and dont select
any file when i hit save the required error appears.
Thanks
Celso
On Fri, Dec 11, 2009 at 5:11 AM, Alexandru-Emil Lupu
wrote:
> When you get that required error? Better wha
When you get that required error? Better what are you trying to achieve?
sent via htc magic
On Dec 11, 2009 1:11 AM, "g0d br" wrote:
Hi,
I have an schema like this:
banner:
id: ~
ordem: { type: integer, required: true }
imagem: { type: varchar(255), required: true }
link: { ty
Hi,
I have an schema like this:
banner:
id: ~
ordem: { type: integer, required: true }
imagem: { type: varchar(255), required: true }
link: { type: varchar(255), required: false }
When i edit an record in admin module i get an error Required for imagem
field.
Thats the code in B
When I use sfWidgetFormInputFileEditable, there automatically shows a
"delete current file" checkbox in the edit action.
This my code:
$this->widgetSchema['logo'] = new
sfWidgetFormInputFileEditable(array
(
'file_src' => '/uploads/studies/' .
$this->
Hello. I would like to use sfWidgetFormInputFileEditable with the delete
feature, but I am wondering how.
When I try it, I get an error:
Unexpected extra form field named "image_delete".
That's because the additional fields that are generated by the FE Widget are
not registered in the sfForm:
15 matches
Mail list logo