Bug #25688
closednot possible to create testTask if sysext:linkvalidator is installed
0%
Description
if you want to create a "Scheduler test task" you must enter an email address, after saving you got an error Message "Please enter an email address."
This is because the Test Task AND linkvalidator use the same name for the email inputfield "tx_scheduler[email]".
If you click "save" both fields are send to the server, but the linkvalidator email field is empty and so you cant save the Test Task.
Steps to reproduce:
install Extensions Scheduler and activte "Sample Tasks"
install Sysext linkvalidator
create a Test Task, type in an email address and press Save
to watch the POST Data I used Firefox Addon TamperData
a fast solution could be to rename one of the email fields but in general this could be a larger problem, if you can "disable" Tasks of another Extension.
Tested width current trunk 10146
(issue imported from #M17152)
Updated by Ernesto Baschny almost 14 years ago
I referenced this issue here:
Updated by Francois Suter almost 14 years ago
I could not reproduce the issue with the current trunk version of TYPO3 and linkvalidator. But it's still not good that they should use variable names shared by other tasks. I'll add a not to the issue opened by Ernesto.
Updated by Chris topher almost 14 years ago
Yes, then we should change the variable name in linkvalidator.
But @ Francois: The basic problem still stays. We cannot be sure that noone will in any extension call his field the way we already have a field in the Core. This general problem still needs to be addressed somehow.
Updated by Michael Miousse almost 14 years ago
solved in http://forge.typo3.org/issues/12385
Committed revision 42413. in linkvalidator trunk
Updated by Francois Suter almost 14 years ago
@Michael: thanks
@Christopher: yes, I know. As I said in the related Forge issue, we are aware of this potential for problems, but we couldn't find a good solution. The least we could do was to add a warning in the manual. If you think about it, there's the same problem in the Core, if you use "user"-type fields in TCA. TCEforms will pass you a name for the field, but you are perfectly free to ignore it. We would have to change the whole system so that the generation of the form field itself is handled by some library, so that users wouldn't even have the choice of name.
Updated by Sven Juergens almost 14 years ago
maybe it's possible to use some ExtJS magic ?
click on save and extjs send only "visible" inputFields or delete all hidden fields and send the form ?
it's only an idea, i don't know if this is possible with extjs
Updated by Francois Suter almost 14 years ago
Sven, can you confirm that this specific issue is fixed for you? It certainly is for me.
The more general discussion is interesting, but should not take place here. Rather in the typo3.projects.v4 mailing list.
Updated by Sven Juergens almost 14 years ago
Hey Francois,
yes, this issue is fixed for me, so this entry can be marked as solved.
Updated by Francois Suter almost 14 years ago
Issue fixed thanks to the changes in the linkvalidator sysext.
Updated by Michael Stucki almost 11 years ago
- Project changed from 739 to TYPO3 Core
- Category changed from scheduler to scheduler
- Target version deleted (
0)