Skip to content

Commit 9e87d76

Browse files
pschrinerlinawolf
andauthored
NEW must nocht be followed by an underscore (#5598)
* [TASK] Clarify datahandler new uid requirements * Update Documentation/ApiOverview/DataHandler/Database/Index.rst * Update Index.rst --------- Co-authored-by: Lina Wolf <[email protected]>
1 parent 819296c commit 9e87d76

File tree

1 file changed

+5
-0
lines changed
  • Documentation/ApiOverview/DataHandler/Database

1 file changed

+5
-0
lines changed

Documentation/ApiOverview/DataHandler/Database/Index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,11 @@ Description of keywords in syntax:
417417
...) or generate them using
418418
:php:`\TYPO3\CMS\Core\Utility\StringUtility::getUniqueId('NEW')`.
419419

420+
.. caution::
421+
422+
If you supply your own string `NEW` must not be followed by an underscore.
423+
The occurance of an underscore implies a reference to a record in a table.
424+
420425

421426
.. confval:: fieldname
422427
:name: datahandler-data-fieldname

0 commit comments

Comments
 (0)