Project

General

Profile

Actions

Bug #96938

open

Environment Variables not resolved in Form Definition

Added by David Mellen over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2022-02-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Remote Sprint

Description

According to the docs it should be possible to resolve environment variables in form definitions stored in custom extensions.

However this only seems to be the case for Version ^11.5 where this check in FormPersistenceManager happens:

if (PathUtility::isExtensionPath($persistenceIdentifier)) {
    $this->ensureValidPersistenceIdentifier($persistenceIdentifier);
    $file = $persistenceIdentifier;
} else {
    $file = $this->retrieveFileByPersistenceIdentifier($persistenceIdentifier);
}

Whereas for example in Version 10.4 there is only this line:

$file = $this->retrieveFileByPersistenceIdentifier($persistenceIdentifier);

Will this be fixed for Versions prior to 11.5 or is the documentation just misleading?

Actions

Also available in: Atom PDF