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: #104463 - Fluid standalone overrideArgument #4337

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

Deprecation: #104463 - Fluid standalone overrideArgument #4337

simonschaufi opened this issue Oct 15, 2024 · 0 comments

Comments

@simonschaufi
Copy link
Collaborator

Deprecation: #104463 - Fluid standalone overrideArgument

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

Deprecation: #104463 - Fluid standalone overrideArgument

See 104463

Description

Fluid standalone method
\TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper->overrideArgument()
has been marked as deprecated.

Impact

Using overrideArgument() in ViewHelpers logs a deprecation level error
message in Fluid standalone v4, and will be removed with Fluid
standalone v5. The method continues to work without deprecation level
error message in Fluid standalone v2.

With Fluid standalone v2.14, registerArgument() no longer throws an
exception if an argument is already registered. This allows to override
existing arguments transparently without using overrideArgument().

Affected installations

Instances with custom ViewHelpers using overrideArgument() are
affected.

Migration

Update typo3fluid/fluid to at least 2.14
and use registerArgument().

PHP-API, FullyScanned, 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