Bug #95435
closedLet PackageManager resolve EXT: paths
100%
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.
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
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
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
Updated by Helmut Hummel about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b61ace1c36f6c69fb1466bf33a4224a4a12665bf.
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.
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).