Bug #100807
openAnalyze Database Structure fails with EnforceableQueryRestriction and constructor dependencies
0%
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
Updated by Garvin Hicking 4 months ago
- Category set to System/Bootstrap/Configuration
Probably the fail-safe container can't be circumvented easily, because all the maintenance section runs with it.
Adjusting category of this issue.
Updated by Stefan Bürk 14 days ago · Edited
Would be nice to know which query / code executes a query using the restricting in that context. I'd say, all queries within db analyzer should omit any restrictin completly in that context.