Project

General

Profile

Actions

Bug #22561

closed

Some exceptions are not caught when trying to install DBAL in 1-2-3 Install Tool process

Added by Francois Suter over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Must have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2010-05-01
Due date:
% Done:

0%

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

Description

In tx_dbal_autoloader are 2 calls to t3lib_install::writeToLocalconf_control(). This method will throw an exception if the localconf.php file is not writable.

At least the first call should be in a try/catch block (we can hope the second call will succeed if the first did) and print out the exception's message. What is missing for now is an official way to issue such error messages, but it is planned as far as I know. It will probably be available via the callback reference to tx_install received by tx_dbal_autoloader, so it should be easy to use it.

The attached patch is just a rough solution to outline the issue.

(issue imported from #M14274)


Files

tx_dbal_autoloader.diff (1.61 KB) tx_dbal_autoloader.diff Administrator Admin, 2010-05-01 22:06
14274.diff (1.67 KB) 14274.diff Administrator Admin, 2010-05-01 23:56
Actions

Also available in: Atom PDF