Issue Bug Closed

#105030RecordLinkHandler does not support "Additional link parameters"

Robert Winter 09/18/24, 12:08 updated 12/22/24, 22:40

Description

It seems, that “Additional link parameters” are not supported by the core RecordLinkHandler. After saving the link changes in the editor the “Additional link parameters” are deleted.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Files 1

History 2

  1. Garvin Hicking commented and changed subject RecordLinkHandler RecordLinkHandler does not support "Additional link parameters" status New Needs Feedback 09/18/24, 12:56

    Yes, this is currently not supported in the implementation, so it’s not a bug but a missing feature. t3://record scheme only supports records and not really URIs. So it can only deal with ‘identifier’ and ‘uid’.

    The general idea here is to NOT use the RecordLinkHandler for things like that. You should create your own LinkHandler implementation for this, and then support the parameters you need, see https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/LinkHandling/Linkhandler/CustomLinkHandlers.html

    Conceptually it does not really make sense to weaken this implementation. We might want to think about preventing to show “Additional link parameters” for a RecordLinkHandler – that would however prevent people from creating custom linkhandler implementations where the field may not be available if people extend from the RecordLinkHandler “abstract” then…

  2. Garvin Hicking commented and changed status Needs Feedback Closed 12/22/24, 22:40

    I’m closing this due to lack of feedback. If you feel this is a mistake please follow up with more details. Thank you!