Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation: #104789 - Fluid variables true, false, null #4345

Open
simonschaufi opened this issue Oct 15, 2024 · 0 comments
Open

Deprecation: #104789 - Fluid variables true, false, null #4345

simonschaufi opened this issue Oct 15, 2024 · 0 comments

Comments

@simonschaufi
Copy link
Collaborator

Deprecation: #104789 - Fluid variables true, false, null

https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/13.3/Deprecation-104789-FluidVariablesTrueFalseNull.html

Deprecation: #104789 - Fluid variables true, false, null

See 104789

Description

Fluid standalone will add proper language syntax for booleans and
null with Fluid v4, which will be used in
TYPO3 v13. Thus, user-defined variables named
true,
false and
null are no longer allowed.

Impact

Assigning variables with name true,
false or
null will throw an exception in Fluid v4.
In preparation of this change, Fluid v2.15 logs a deprecation level
error message if any of these variable names are used.

Affected installations

Instances with Fluid templates using
true,
false or
null as user-defined variable names. This
should rarely happen, as it would involve using
$view->assign('true', $someVar).

Migration

Template code using these variables should be adjusted to use different
variable names. In Fluid v4, the variables will contain their matching
PHP counterparts.

Fluid, NotScanned, ext:fluid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant