[BUGFIX] Linkvalidator: Scheduler task not working correctly 93/52593/7
authorThorben Nissen <thorben.nissen@kapp-hamburg.de>
Tue, 25 Apr 2017 07:51:57 +0000 (09:51 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 11 May 2017 15:17:47 +0000 (17:17 +0200)
commit2d536cfdad97033c39786eec09768d2e07c3d421
tree43addffe5e3184544811902a3e2db644d72f74d4
parent9e01773ce29f2372f91aa26e3044156337236abd
[BUGFIX] Linkvalidator: Scheduler task not working correctly

The scheduler task does not check anything but just returns and does not
send an email. Furthermore it is not possible to enter email address
separated by newlines. Under some conditions it can happen, that result
numbers are added to the last result.

Explode pid list into array in LinkAnalyzer::init and use the array later.
Check if email adresses are comma or newline separated when validating
them when saving the task. Add file link statistic to default email
template. Reset the link statistics before the run to avoid adding it to
the last result numbers.

Resolves: #81000
Releases: master, 8.7
Change-Id: I05a98c9babcb889a83ce2f1ec7c0a2bee5dafede
Reviewed-on: https://review.typo3.org/52593
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christer V <cvi@systime.dk>
Tested-by: Christer V <cvi@systime.dk>
Reviewed-by: Elmar Hinz <t3elmar@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/linkvalidator/Classes/LinkAnalyzer.php
typo3/sysext/linkvalidator/Classes/Task/ValidatorTask.php
typo3/sysext/linkvalidator/Classes/Task/ValidatorTaskAdditionalFieldProvider.php
typo3/sysext/linkvalidator/Resources/Private/Templates/mailtemplate.html