Project

General

Profile

Actions

Bug #100807

open

Analyze Database Structure fails with EnforceableQueryRestriction and constructor dependencies

Added by Nicole Cordes 12 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2023-05-04
Due date:
% Done:

0%

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

Description

Given:

- an own class implementing the QueryRestrictionInterface and EnforceableQueryRestrictionInterface using a constructor dependency to another class
- this class is marked as public in settings.yaml
- this class is registered in $GLOBALS['TYPO3_CONF_VARS']['DB']['additionalQueryRestrictions']

Expectation:

- calling "Analyze Database Structure" in maintenance module should compare the current database structure with expected on

Actual:

- an error occurs as the (constructor) dependency cannot be resolved
- the failsafe container instead of the symfony dependency container is used

No data to display

Actions

Also available in: Atom PDF