From eeea218a39387a414df1b792a7eba8841a54d4e3 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Thu, 6 Jul 2017 11:59:45 +0200 Subject: [PATCH] TASK: Clarify dependencies for db insert Make sure everyone notices the TCA dependency. --- Documentation/Configuration.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/Configuration.rst b/Documentation/Configuration.rst index 988ae99..4b0cec4 100644 --- a/Documentation/Configuration.rst +++ b/Documentation/Configuration.rst @@ -25,6 +25,10 @@ TCA, where data should be written to. In addition, you can define multiple ``columns`` as key-value pairs that will be added to the form input. This allows you to define the storage ``pid`` or hide new records. +Both, table and columns, have to exist in the actual database and TCA. Otherwise they will not be +inserted and no error is raised. If you need to insert "hidden" fields not visible inside of the +backend, don't add them to ``showitem`` list. + Example: .. literalinclude:: Examples/full.ts