• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FluidTYPO3 / flux / 9921245700
93%

Build:
DEFAULT BRANCH: development
Ran 13 Jul 2024 04:11PM UTC
Jobs 5
Files 214
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Jul 2024 04:11PM UTC coverage: 93.444% (-0.006%) from 93.45%
9921245700

push

github

NamelessCoder
[FEATURE] Add extension config to produce unique file field names

TYPO3 has a limitation (one among many) when dealing with with FAL
references within FlexForms. The field name saved to sys_file_reference
is unique to the DS but not unique to the parent field name context.

Usually we would solve this by extending foreign_match_fields but
someone in their infinite wisdom decided that as part of the automatic
TCA migration wizard that rewrites type=inline with FAL to type=file,
the foreign_match_fields setting should be destroyed and type=file
should not have any support whatsoever for this kind of advanced
relation criteria.

We are therefore left with only one option: changing the field name
of the FAL field to include the parent field name as prefix. This new
extension feature enables that behavior.

Unfortunately this means that file references are stored in a completely
different way which is not compatible. Changing this extension setting
will effectively orphan all existing file relations. You should therefore
never change this unless you are setting up a new site, or you plan to
migrate all your existing file relations (updating sys_file_reference to
set a new fieldname value for every relation matching your set of FAL
field names throughout all templates).

Note: the prefix is automatically handled when using transform="file"
and other file transform types. But if you use other means of resolving
the FAL reference you'll need to manually specify the prefixed version
of the fieldname when fetching file relation records.

53 of 58 new or added lines in 4 files covered. (91.38%)

6955 of 7443 relevant lines covered (93.44%)

47.45 hits per line

Jobs
ID Job ID Ran Files Coverage
1 typo3-^11.5-php-8.2 - 9921245700.1 13 Jul 2024 04:12PM UTC 0
91.82
GitHub Action Run
2 typo3-^12.1-php-8.2 - 9921245700.2 13 Jul 2024 04:12PM UTC 0
91.7
GitHub Action Run
3 typo3-^10.4-php-7.4 - 9921245700.3 13 Jul 2024 04:11PM UTC 0
91.76
GitHub Action Run
4 typo3-^11.5-php-8.0 - 9921245700.4 13 Jul 2024 04:11PM UTC 0
91.82
GitHub Action Run
5 typo3-^11.5-php-8.1 - 9921245700.5 13 Jul 2024 04:11PM UTC 0
91.82
GitHub Action Run
Source Files on build 9921245700
Detailed source file information is not available for this build.
  • Back to Repo
  • c99218e5 on github
  • Prev Build on development (#9920875090)
  • Next Build on development (#9927761756)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc