Project

General

Profile

Actions

Bug #96938

closed

Environment Variables not resolved in Form Definition

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

Status:
Closed
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 over 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 #2

Updated by Georg Ringer 3 days ago

  • Status changed from New to Closed

By reading the issue it seems that this works in 11.5. 10 is ELTS only, therefore closing the issue.

if you don't agree, feel free to contact me via slack!

Actions

Also available in: Atom PDF