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

FluidTYPO3 / flux / 13171950883
93%

Build:
DEFAULT BRANCH: development
Ran 06 Feb 2025 04:40AM UTC
Jobs 7
Files 224
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

05 Feb 2025 09:28PM UTC coverage: 93.266% (+0.02%) from 93.251%
13171950883

push

github

NamelessCoder
[BUGFIX] Always fetch ContentObject from request in TYPO3v12+

The ContentObjectFetcher was introduced to have a common API
for fetching the current content object across different
TYPO3 versions.

This class logs a deprecation notice in TYPO3v12:
> TYPO3 Deprecation Notice:
> ConfigurationManager->getContentObject() is deprecated since TYPO3 v12.4
> and will be removed in v13.0.
> Fetch the current content object from request attribute
> "currentContentObject" instead in
> vendor/typo3/cms-extbase/Classes/Configuration/ConfigurationManager.php
> line 96

To prevent this from happening, we check for the TYPO3 version and
always use the request instead of the configuration manager in TYPO3v12+.

Note: In TYPO3v12, "$request->getAttribute('currentContentObject')" does
not always return the content object.
We thus fall back to TypoScriptFrontendController, which always has it.
(Code taken from vhs)

Related: https://github.com/FluidTYPO3/flux/pull/2190

7 of 7 new or added lines in 1 file covered. (100.0%)

7077 of 7588 relevant lines covered (93.27%)

66.04 hits per line

Jobs
ID Job ID Ran Files Coverage
1 typo3-^12.4-php-8.2 - 13171950883.1 06 Feb 2025 04:40AM UTC 224
91.33
GitHub Action Run
2 typo3-^12.4-php-8.3 - 13171950883.2 06 Feb 2025 04:40AM UTC 224
91.33
GitHub Action Run
3 typo3-^13.4-php-8.3 - 13171950883.3 06 Feb 2025 04:40AM UTC 224
90.38
GitHub Action Run
4 typo3-^11.5-php-8.0 - 13171950883.4 06 Feb 2025 04:40AM UTC 224
91.19
GitHub Action Run
5 typo3-^11.5-php-8.2 - 13171950883.5 06 Feb 2025 04:40AM UTC 224
91.23
GitHub Action Run
6 typo3-^10.4-php-7.4 - 13171950883.6 06 Feb 2025 04:40AM UTC 224
90.43
GitHub Action Run
7 typo3-^11.5-php-8.1 - 13171950883.7 06 Feb 2025 04:40AM UTC 224
91.23
GitHub Action Run
Source Files on build 13171950883
  • Tree
  • List 224
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 12eb005e on github
  • Prev Build on development (#13166774528)
  • Next Build on development (#13179384817)
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