Skip to content
Snippets Groups Projects
Commit e835a1e1 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[BUGFIX] Use MissingArrayPathException in InheritancesResolverService

With change for issue #83238 the specific exception
MissingArrayPathException has been accidently changed
back to a generic \RuntimeException, fix this again.

Change-Id: I60f189c48a21bc7a6e648f4e811f4ae312ccc9ef
Releases: master
Resolves: #83815
Related: #83238
Related: #83615
Reviewed-on: https://review.typo3.org/55624


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 67944d64
Branches
Tags
No related merge requests found
......@@ -16,6 +16,7 @@ namespace TYPO3\CMS\Form\Mvc\Configuration;
*/
use TYPO3\CMS\Core\Utility\ArrayUtility;
use TYPO3\CMS\Core\Utility\Exception\MissingArrayPathException;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Object\ObjectManager;
use TYPO3\CMS\Form\Mvc\Configuration\Exception\CycleInheritancesException;
......@@ -353,7 +354,7 @@ class InheritancesResolverService
{
try {
return ArrayUtility::getValueByPath($config, $path, $delimiter);
} catch (\RuntimeException $exception) {
} catch (MissingArrayPathException $exception) {
return null;
}
}
......
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