Issue Bug Closed

#96938Environment Variables not resolved in Form Definition

David Mellen 02/17/22, 06:47 updated 06/27/24, 22:15

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?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.