Project

General

Profile

Actions

Bug #105346

closed

PHP Warning when using optional set dependency that is not available

Added by Benjamin Franzke about 1 month ago. Updated 17 days ago.

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

100%

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