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

Support for TypolinkParameter in v13 #164

Open
s2b opened this issue Oct 19, 2024 · 0 comments · May be fixed by #165
Open

Support for TypolinkParameter in v13 #164

s2b opened this issue Oct 19, 2024 · 0 comments · May be fixed by #165

Comments

@s2b
Copy link
Collaborator

s2b commented Oct 19, 2024

TYPO3 v13 introduced a data object TYPO3\CMS\Core\LinkHandling\TypolinkParameter similar to Fluid Component's Typolink object. To preserve compatibility with older version and to allow string input, I'd suggest to add another converter implementation to convert the TYPO3 object to Fluid Component's implementation. Currently, if the new object is passed to a component that annotates the Typolink type, an exception is thrown.

Core class: https://github.com/TYPO3/typo3/blob/main/typo3/sysext/core/Classes/LinkHandling/TypolinkParameter.php

Necessary changes:

  • add new converter interface
  • add it to list in ComponentArgumentConverter.php
  • implement new interface in Typolink class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant