Project

General

Profile

Actions

Bug #52282

closed

EXT:documentation: fail to include ext_emconf.php

Added by Xavier Perseguers over 10 years ago. Updated about 10 years ago.

Status:
Rejected
Priority:
Should have
Category:
Documentation
Target version:
Start date:
2013-09-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

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
Actions #1

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 ^^

Actions #2

Updated by Xavier Perseguers about 10 years ago

  • Status changed from Needs Feedback to Rejected

Extensions need to be properly unloaded

Actions

Also available in: Atom PDF