Commit 6cf77885 authored by Clewing, Martin's avatar Clewing, Martin
Browse files

Merge branch 'fix/fix-ical-action-event-validation' into 'master'

Remove event argument validation in `iCalendarAction`

See merge request riconet-public/typo3/rico_social_clubs_events!3
parents 4bbb3f1d 8563ce79
......@@ -34,6 +34,21 @@ class EventsController extends \Riconet\RicoEvents\Controller\EventsController
}
}
public function initializeICalendarAction(): void
{
if (!$this->arguments->hasArgument('event')) {
return;
}
// Remove event validators.
/** @var ConjunctionValidator $conjunctionValidator */
$conjunctionValidator = $this->arguments->getArgument('event')->getValidator();
/** @var ValidatorInterface $validator */
foreach ($conjunctionValidator->getValidators() as $validator) {
$conjunctionValidator->removeValidator($validator);
}
}
protected function getErrorFlashMessage(): string
{
return '';
......
......@@ -11,7 +11,7 @@
$EM_CONF[\Riconet\RicoSocialClubsEvents\Constants::EXTENSION_KEY] = [
'title' => 'Social Clubs Events',
'description' => 'This extension connects the extension rico_social_clubs with the extension rico_events.',
'version' => '2.0.1',
'version' => '2.0.2',
'category' => 'misc',
'constraints' => [
'depends' => [
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment