Bug #95435
closed
Let PackageManager resolve EXT: paths
Added by Helmut Hummel about 3 years ago.
Updated about 3 years ago.
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.
- Status changed from New to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
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.
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).
Also available in: Atom
PDF