On Mar 13, 12:55 pm, byqsri <marco.rizze...@gmail.com> wrote:
> I have another problem with upload behaviour of MI-BASE.
> All works fine only that if I set no image to upload I get a
> validation error:
> "The submitted file extension is not permitted, only
> jpeg,jpg,gif,png,bmp permitted."
>
> I have set the option 'mustUploadFile' => false but nothing.
> Can someone tell me how configure in the right way the behaviour?
> Many thanks
Funnily enough, I haven't used the behavior in an 'optional' upload
scenario before - and the test wasn't correct.
Fixed:
http://trac.assembla.com/mi/changeset/838/branches/base/models/behaviors/upload.php
Please look for me first on irc (I'm online most days) to ask
questions related to mi-base, in preference to using the group.
Also, although the code hasn't moved yet the ticket system here:
http://thechaw.com/mi/tickets can be used for tracking problems (Ooo
an eager kiang has already started the trend).
Cheers,
AD
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---