[BUGFIX] Show warning message on regex error in Object Browser 00/44500/8
authorHelmut Hummel <helmut.hummel@typo3.org>
Tue, 3 Nov 2015 10:58:33 +0000 (11:58 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Tue, 3 Nov 2015 21:31:36 +0000 (22:31 +0100)
commitc8b0abc271927e45b039f0274594a78d82d6ab2c
tree99434dccff2182a58ee5c2dafea8981a9a21eed7
parent284e0fb88f9a454a7ec06775f2b971a7543c16f8
[BUGFIX] Show warning message on regex error in Object Browser

We test the pattern with a shutdown operator, before we're going to use it
in the regular expression search.

With doing so, we can output an error message when the regex is wrong.

Resolves: #71271
Releases: master
Change-Id: I0244c9727b838b788bfdc8ad457f90778cc79be7
Reviewed-on: https://review.typo3.org/44500
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/core/Classes/TypoScript/ExtendedTemplateService.php
typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateObjectBrowserModuleFunctionController.php
typo3/sysext/tstemplate/Resources/Private/Language/locallang_objbrowser.xlf