Project

General

Profile

Actions

Bug #105346

open

PHP Warning when using optional set dependency that is not available

Added by Benjamin Franzke 13 days ago. Updated 12 days ago.

Status:
Under Review
Priority:
Should have
Category:
Site Handling, Site Sets & Routing
Start date:
2024-10-18
Due date:
% Done:

0%

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

Description

A warning is thrown when a set defines an unavailable set as optional dependency.

Example site configuration:

name: my/set
label: 'My Set'
optionalDependencies:
  - typo3/seo-sitemap

Produces following warning when `EXT:seo` is not installed:

  PHP Warning: Undefined array key "typo3/seo-sitemap" in …/typo3/sysext/core/Classes/Service/DependencyOrderingService.php line 209  
Actions

Also available in: Atom PDF