Issue Bug Closed

#100380Importing page tree with content containing mailto:###

Roman Büchler 04/01/23, 11:48 updated 09/17/26, 15:44

Description

When importing xml data containing a content element where typoscript constant place holders (e.g. ###myConstant###) are used the following error comes up:

Uncaught TYPO3 Exception TYPO3\CMS\Core\Database\ReferenceIndex::createEntryDataUsingRecord(): Argument #7 ($referenceString) must be of type string, null given, called in /var/www/html/.build/vendor/typo3/cms-core/Classes/Database/ReferenceIndex.php on line 412
thrown in file /var/www/html/.build/vendor/typo3/cms-core/Classes/Database/ReferenceIndex.php
in line 348

Reviews 1

History 36

  1. Roman Büchler commented and changed subject Importing page tree with ### content Importing page tree with content containing mailto:### <span data-processor="relativetime" data-value="2023-04-01T12:28:20+00:00" > 04/01/23, 12:28 </span>

    The issue might be related to the email link handler. The error only comes up when the content contains a mailto link using a constant (e.g. ###USER###@###DOMAIN###). Since such links can’t be set anyway this ticket could be closed.

  2. Georg Ringer commented and changed status Under Review Closed <span data-processor="relativetime" data-value="2026-09-17T15:44:38+00:00" > 09/17/26, 15:44 </span>

    Crash fixed via #100568 (contained in 12.4 and later), the underlying TypoScript
    feature removed in v13, approach rejected in review and withdrawn by the
    reporter. Nothing actionable left, hence closing.