Project

General

Profile

Actions

Bug #95435

closed

Let PackageManager resolve EXT: paths

Added by Helmut Hummel about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-10-01
Due date:
% Done:

100%

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

Description

The PackageManager has all information on which
packages are installed and how they are named,
thus it should serve as only source of truth
regarding package path resolving.

Actions #1

Updated by Gerrit Code Review about 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/71405

Actions #2

Updated by Gerrit Code Review about 3 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/71405

Actions #3

Updated by Gerrit Code Review about 3 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/71405

Actions #4

Updated by Helmut Hummel about 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack about 3 years ago

  • Status changed from Resolved to Closed
Actions #6

Updated by Eike Starkmann about 3 years ago

Just want to mention that GeneralUtility::getFileAbsFileName can now longer be used with "EXT:something" in unit test cases, since no packages are loaded there.

Actions #7

Updated by Helmut Hummel about 3 years ago

Eike Starkmann wrote in #note-6:

Just want to mention that GeneralUtility::getFileAbsFileName can now longer be used in unit test cases, since no packages are loaded there.

I don't doubt that you have issues with unit testing, but they can't be related to packages being loaded or not, because whether a package was loaded was checked before already: https://github.com/TYPO3/typo3/blob/e4da4be7d06b36ef3abef1c82ec9f9a7f0d3dce0/typo3/sysext/core/Classes/Utility/GeneralUtility.php#L2816-L2818

So if you want help or suggest a change, it might be a good idea to create an individual ticket with a more detailed description of what you want to achieve, what you expect and what exactly you are seeing instead.

Alternatively you can reach out on Slack or Stackoverflow to receive help with your issue(s).

Actions

Also available in: Atom PDF