Bug #89348

EXT:core has hidden dependency on EXT:frontend (circular dependency)

Added by Claus Due about 1 month ago. Updated about 1 month ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-10-04
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In ext_tables.php of EXT:core, classes from EXT:frontend are used. However, EXT:frontend is not declared as dependency of EXT:core (since this would create a circular dependency).

The problem is usage of class constants from a class that does not exist without EXT:frontend installed.

Suggest moving these constants to EXT:core (since they relate to "pages" table which is supposed to be operable even without EXT:frontend installed and is fully declared as SQL in EXT:core).

History

#1 Updated by Frank Naegler about 1 month ago

  • Status changed from New to Needs Feedback

I guess you mean PageRepository::DOKTYPE_* ?
This class is moved into core for v10. I guess this must not be fixed in v9 or is this a pressing issue?

Also available in: Atom PDF