Add hooks to enable extension using the old typoLinkHandler syntax to migrate data
This is a followup to the new link-syntax introduced with version 8.
Extensions using the typoLinkHandler syntax '<identifier>:...' currently do not work anymore and have no sane possibility to migrate old links.
The Core code contains todo annotations with this issue number attached.
Updated by Marc Bastian Heinrichs over 2 years ago
- File BUGFIX_Convert_legacy_parameters_in_record_link_handler.patch BUGFIX_Convert_legacy_parameters_in_record_link_handler.patch added
Since the LegacyLinkNotationConverter already provides the key url with all info needed based on the old linkhandler notation
list($a['identifier'], $a['table'], $a['uid']) = explode(':', $linkHandlerValue); $result['url'] = $a;
I would like to see this handled in RecordLinkHandler instead of having a simple hook. See attached patch.
Updated by Daniel Goerz over 2 years ago
I stumpled over this missing API today and had to XCLASS the LinkService. I pushed my proposal for an hook, although I am not entirely sure if I got this ticket right.
Here is an example extension that uses the newly introduced hook for testing and verifying purposes: https://github.com/ervaude/forge_links