[BUGFIX] Correctly define allowedSubProperties of TwitterCardMetaTagManager 99/57099/9
authorRichard Haeser <richard@maxserv.com>
Wed, 30 May 2018 20:56:29 +0000 (22:56 +0200)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Sat, 2 Jun 2018 21:50:40 +0000 (23:50 +0200)
commitbc5dcaacef26cecb29e89554e5b1775dc839a4ae
treed817a38d95d80f7221da44036b0ce15100e6514e
parent4fe45e4d862d233b4338a746d1aea2c885a98119
[BUGFIX] Correctly define allowedSubProperties of TwitterCardMetaTagManager

The properties within the allowedSubProperties have to be arrays
because the AbstractMetaTagManager checks if the property as a key
exists in the allowSubProperties.

Resolves: #85126
Releases: master
Change-Id: Ie57a77f8d4100e0861958de73faa56d80709daad
Reviewed-on: https://review.typo3.org/57099
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
typo3/sysext/core/Classes/MetaTag/TwitterCardMetaTagManager.php
typo3/sysext/core/Tests/Unit/MetaTag/TwitterCardMetaTagManagerTest.php [new file with mode: 0644]