Project

General

Profile

Actions

Bug #106852

closed

TCA columns config type "passthrough" does not respect "foreign_table"

Added by George Miller 10 days ago. Updated 2 days ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2025-06-09
Due date:
% Done:

0%

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

Description

Description

The TCA column config type passthrough is no longer taken into account. As a result, it is no longer possible to use passthrough columns as refernces in Domain/Models.

Example

TCA

'page' => [
    'config' => [
        'type' => 'passthrough',
        'foreign_table' => 'pages',
    ]
]

Model

protected ?Page $page = null;
Actions #1

Updated by Georg Ringer 10 days ago

  • Status changed from New to Needs Feedback

Thanks for creating the issue!

passthrough means that it shouldn't be transformed, so why should foreign_table be respected? Why not properly configure the field?

Actions #2

Updated by George Miller 8 days ago

Georg Ringer wrote in #note-1:

Thanks for creating the issue!

passthrough means that it shouldn't be transformed, so why should foreign_table be respected? Why not properly configure the field?

Many thanks for the quick reply. What does properly configured mean in this case? We need this application case for the plugin-internal use of data that does not have to or should not be displayed. The data is required, e.g. in Fluid, but is not manipulated, which corresponds to the intended use.

Actions #3

Updated by Garvin Hicking 8 days ago

  • Category set to FormEngine aka TCEforms

In this case you should probably set up the type so that it COULD be manipulated with TCA properly (using the relations you want to offer).

And then, the field could simply be removed from your palette, so it won't be editable in FormEngine. This will then properly allow the DataHandler to do it's work, and the TCA Schema can do its work because "passthrough" will also effectively disable other TCA attributes being evaluated/mapped.

Hope that helps!?

Actions #4

Updated by George Miller 2 days ago

All right, now I understand what was meant.
Thank you very much for the information and all the great work you put into the project.

Actions #5

Updated by Garvin Hicking 2 days ago

  • Status changed from Needs Feedback to Closed

Great, if at least sometimes my feedback helps, I'm a happy person.

I hoope it's fine to close this issue for now. If you face issues with the recommendation, please feel free to join talk.typo3.org or our slack so we can try to work it out.

Actions

Also available in: Atom PDF