[FOLLOWUP][BUGFIX] Exception when setting "language" to "all" for content 62/51962/2
authorOliver Hader <oliver@typo3.org>
Mon, 6 Mar 2017 09:06:15 +0000 (10:06 +0100)
committerNicole Cordes <typo3@cordes.co>
Mon, 6 Mar 2017 22:17:38 +0000 (23:17 +0100)
commit7d92cdc825fd82d0261e3b6f880b681b416644de
tree1206a1fcac0d0a91fb4efffbf47f6ead1278a4f8
parente797b87fdf59cadd1bf6a867012df5647fba9809
[FOLLOWUP][BUGFIX] Exception when setting "language" to "all" for content

The initial change just hid a misbehavior when dealing with a content
element that was defined for the non-existing "all language". In this
case no localizations are possible and the data-map item shall not be
considered at all. This change makes the exception on language "-1"
more explicit and does not hide these side-effects.

Besides that, the functional tests were extended to check the complete
scenario for the defined language to be tested in the frontend.

Change-Id: I336e0e5c3994e21b9b8a17818b3dc0ab1c2a1b3a
Resolves: #79853
Releases: master
Reviewed-on: https://review.typo3.org/51962
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Joerg Kummer <service@enobe.de>
Tested-by: Joerg Kummer <service@enobe.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/core/Classes/DataHandling/Localization/DataMapProcessor.php
typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/ActionTest.php
typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/createContentForLanguageAll.csv