Project

General

Profile

Actions

Bug #96938

open

Environment Variables not resolved in Form Definition

Added by David Mellen about 2 years ago. Updated about 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 #1

Updated by Björn Jacob about 2 years ago

  • Sprint Focus set to Remote Sprint

We have to discuss this and see if this is a bug. IMHO the feature has been introduced in v10.

Actions

Also available in: Atom PDF