EXT:documentation: fail to include ext_emconf.php
Use case: install an extension and generate/retrieve its documentation. It will be stored in
typo3conf/Documentation/typo3cms.extensions.<extkey>. Now remove/uninstall this extension.
The documentation module still tries to load info for the non-existing extension which leads to a PHP Warning and an empty line in the table of documents:
PHP Warning PHP Warning: include(/path/to/62.typo3dev.loc/public/ext_emconf.php) [function.include]: failed to open stream: No such file or directory in /path/to/typo3/sysext/documentation/Classes/Utility/GeneralUtility.php line 44
Updated by Xavier Perseguers over 10 years ago
- Status changed from Accepted to Needs Feedback
Further info: the extension has been deleted from
typo3conf/ext/ but not "unloaded" and is thus still present in the list of "loaded" extensions.
If it is properly unloaded, then no warning is shown, the PDF (which is locally available) is rendered along with the full documentation key as "name".
We may keep the code as this or handle this use case even though it should not happen ^^