[BUGFIX] Add `config.contentObjectExceptionHandler` to tsref.xml 67/52667/5
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:53:34 +0000 (11:53 +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/52667
Reviewed-by: Henrik Elsner <helsner@dfau.de>
Tested-by: Henrik Elsner <helsner@dfau.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/t3editor/Resources/Private/tsref.xml

index 1b037ab..938dfca 100644 (file)
@@ -270,6 +270,19 @@ This value is overridden by the value set in the page-record (field="cache_timeo
                <property name="content_from_pid_allowOutsideDomain" type="boolean">
                        <description><![CDATA[Using the "Show content from this page instead" feature allows you to insert content from the current domain only. Setting this option will allow content included from anywhere in the page tree!]]></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">