86078[TASK] Enrich TCA from BeforeTcaOverridesEvent
Commit message
Review
-
Code review CR +2 Done
- Christian Kuhn +2
- Stefan Bürk +1
-
Verified V +2 Done
- Christian Kuhn +2
- Stefan Bürk +1
- core-ci +1 CI
Issues 2
Files 1
Review log 1317
-
Nikita Hovratov uploaded patch set 1 09/13/24, 00:29
-
Nikita Hovratov rebased onto patch set 2 09/13/24, 00:30
-
core-ci voted on patch set 2 V +1 09/13/24, 00:38 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/65615
-
core-ci voted on patch set 1 V +1 09/13/24, 00:38 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/65614
-
Nikita Hovratov commented on patch set 2 09/13/24, 00:53
See Content Blocks Pull request for reference: https://github.com/nhovratov/content-blocks/pull/247 -
Stefan Bürk commented on patch set 2 09/14/24, 01:44
TcaFactory.php:67enrichTca ensures to enrich missing fields for TCA tables - would it not make sense to have it called multiple times ? * before the event * after the event * and after tca overrides has been loaded again It can also be postulated the it is helpfull to have the already loaded TCA enriched with missing data before the event is dispatched - or not ? Not sure about the impact .... -
Nikita Hovratov commented on patch set 2 09/15/24, 10:21
TcaFactory.php:67ReplyWell, of course we could call it before and after the event, but for my case I don't depend on defined system columns. And I don't think others should either. As this is still a new Event and the enrichment came afterwards, I believe the impact is very low. On the other hand it helps the Content Blocks extension tremendously. -
Christian Kuhn commented on patch set 2 CR +1 V +1 09/16/24, 10:11
when i added enrich(), i wasn't sure if the event should be fired before or after. i think the naming isn't perfect anymore, but i'd say the impact is codewise rather small, and if it helps content blocks and others to first fire event, then enrich ... fine with me. -
Christian Kuhn updated the commit message in patch set 3
CR +1V +109/16/24, 10:12 -
Christian Kuhn commented on patch set 3 09/16/24, 10:13
TcaFactory.php:67Replyi'd say the naming of the event isn't perfect, and i also didn't wanted to change it when i introduced enrich(). imho, ok to keep this for now and *not* introduce yet another event and rename the old or something. -
Christian Kuhn rebased onto patch set 4 09/16/24, 10:13
-
Christian Kuhn voted on patch set 4 CR +1 V +1 09/16/24, 10:13
-
core-ci voted on patch set 3 V +1 09/16/24, 10:18 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/65873
-
core-ci voted on patch set 4 V +1 09/16/24, 10:24 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/65874
-
Stefan Bürk voted on patch set 4 CR +1 V +1 09/16/24, 10:31
-
Christian Kuhn voted on patch set 4 CR +2 V +2 09/16/24, 10:43
-
Christian Kuhn merged patch set 5 09/16/24, 10:43