From 4db25fe3e470468e480183b01ffff6e2c010d941 Mon Sep 17 00:00:00 2001 From: Georg Ringer <georg.ringer@gmail.com> Date: Fri, 10 Apr 2020 15:18:57 +0200 Subject: [PATCH] [BUGFIX] Fix wording of exception in DataMapper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The message of the exception introduced with #89857 needs some improvements. Resolves: #90996 Releases: master, 9.5 Change-Id: If0bc77ac8bcdab44a6468dc7bd1eb3543673e7a8 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64116 Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Christian Eßl <indy.essl@gmail.com> Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by: Josef Glatz <josefglatz@gmail.com> Reviewed-by: Christian Eßl <indy.essl@gmail.com> --- .../extbase/Classes/Persistence/Generic/Mapper/DataMapper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php b/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php index ed281be696ab..8f7c566d7f8b 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php @@ -239,8 +239,8 @@ class DataMapper } catch (NoSuchPropertyException $e) { throw new Exception\NonExistentPropertyException( 'The type of property ' . $className . '::' . $propertyName . ' could not be identified, ' . - 'as property ' . $propertyName . ' is unknown to the ' . ClassSchema::class . ' instance of class .' . - $className . '. Please make sure said property exists and that you cleared all caches to trigger' . + 'as property ' . $propertyName . ' is unknown to the ' . ClassSchema::class . ' instance of class ' . + $className . '. Please make sure said property exists and that you cleared all caches to trigger ' . 'a new build of said ' . ClassSchema::class . ' instance.', 1580056272 ); -- GitLab