[BUGFIX] Add `config.contentObjectExceptionHandler` to tsref.xml 98/52698/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 1 May 2017 09:41:28 +0000 (11:41 +0200)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Thu, 4 May 2017 09:59:32 +0000 (11:59 +0200)
The TypoScript setting `config.contentObjectExceptionHandler` was
introduced in TYPO3 7.0 but is still missing in tsref.xml. This patch
adds the configuration.

Resolves: #81093
Releases: master, 8.7, 7.6
Change-Id: Ib46891699aca91329aef302d87e562ac317892f2
Reviewed-on: https://review.typo3.org/52698
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/t3editor/Resources/Private/tsref.xml

index 6fc1a26..bd1e552 100644 (file)
@@ -306,6 +306,19 @@ This option may be overridden in the FORMS-cObject.]]></description>
                        <default><![CDATA[
 ]]></default>
                </property>
+               <property name="contentObjectExceptionHandler" type="array">
+                       <description><![CDATA[Exceptions which occur during rendering of content objects (typically plugins) will now be caught by default in production context and an error message is shown along with the rendered output.
+
+                       Use "1" for the default exception handler (enabled by default in production context)
+                       Use "0" to disable the default exception handler
+                       Use a class name for individual exception handlers
+
+                       See TSref for details:
+                       https://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Config/Index.html#contentobjectexceptionhandler
+]]></description>
+                       <default><![CDATA[
+]]></default>
+               </property>
                <property name="debug" type="boolean">
                        <description><![CDATA[If set any debug-information in the TypoScript code is output. Currently this applies only to the menu-objects]]></description>
                        <default><![CDATA[