Project

General

Profile

Actions

Bug #105030

open

RecordLinkHandler does not support "Additional link parameters"

Added by Robert Winter 2 months ago. Updated 2 months ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
Link Handling & Redirect Handling
Target version:
-
Start date:
2024-09-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Files

recordlinkhandler.PNG (3.19 KB) recordlinkhandler.PNG Robert Winter, 2024-09-18 11:49
Actions #1

Updated by Garvin Hicking 2 months ago

  • Subject changed from RecordLinkHandler to RecordLinkHandler does not support "Additional link parameters"
  • Status changed from New to Needs Feedback

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...

Actions

Also available in: Atom PDF