Actions
Bug #96938
closedEnvironment Variables not resolved in Form Definition
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?
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.
Updated by Georg Ringer about 2 months 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