Bug #7318
cant submit form when uploads = fileMaxCount
| Status: | Resolved | Start date: | 2010-04-18 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Reinhard Führicht | % Done: | 0% |
|
| Category: | - | |||
| Target version: | Beta 5 (v0.9.8) | |||
| Votes: | 0 |
Description
Hi,
i'm not sure but i think its a bug...
I set up the following typoscript:
picture {
errorCheck.1 = fileAllowedTypes
errorCheck.1.allowedTypes = jpg
errorCheck.2 = fileMinSize
errorCheck.2.minSize = 20480
errorCheck.3 = fileMaxSize
errorCheck.3.maxSize= 10485760
errorCheck.4 = fileMaxCount
errorCheck.4.maxCount = 6
}
If i upload 5 files i could send the mail. but if i uploaded 6 files i get the message
"Konnte Fehlermeldung mit Key "error_picture_filemaxcount" nicht finden!" when i want to send the mail, every time in debugmode...
By the way, the check "customRemovalText" and "showThumbnails" is not listet at typo3.org
And you should highlight "You need xajax installed to use enableAjaxFileRemoval = 1
Regards, aco
I'm using formhandler 0.9.7
History
Updated by Reinhard Führicht about 3 years ago
- Status changed from New to Needs Feedback
- Target version changed from Beta 4 (v0.9.7) to Beta 5 (v0.9.8)
If you uploaded 6 files, fileMaxCount will report an error. I don't think that's a bug, but just the way it works. If you configure fileMaxCount to 6, than you are only allowed to upload 5 files.
showThumbnails is already listed in the manual. I added customRemovalText and added a note about xajax.
Updated by acco about 3 years ago
ok, i repeat, to be sure, i understood you correct!
i setup in ts upload max files to 6.
then i am allowed to upload 6 files, but i cant send the form? only if i delete one file?
should i not got an error if i try to upload file no. 7?
my problem is: if 6 files uploaded it should be possible to send the form but not to add a file.
do you don't think so?
Updated by Rachel Foucard about 3 years ago
Hello,
I have the same problem with a simplestep form. I use a master template. When I use the upload submit button (step-1) everything is ok, if I set 2 files maximum, for example, I can upload 2 files and I get an error message when I try to upload a third file. It's different with the sending submit button (step-2), I can't submit the form if there is 2 files.
Updated by Reinhard Führicht almost 3 years ago
Should be fixed by now. It was a problem in session handling. Please test with the current trunk version.
Updated by Reinhard Führicht almost 3 years ago
- Status changed from Needs Feedback to Resolved
Open a new issue, if the problem still exists in trunk.