Project

General

Profile

Actions

Bug #69225

closed

DatabaseConnectionMock missing method isConnected

Added by Sebastian Seidelmann over 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2015-08-21
Due date:
% Done:

0%

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

Description

Hello everybody,

If there is a failure in installtool in graphical checks, there is a "Detected Fatal Error" upcoming.
To reproduce missconfigure the GFX component and run "Convert image formats to jpg" from install tool.

typo3_src/typo3/sysext/core/Classes/Error/ErrorHandler.php (line 178) will call the isConnected Method of DatabaseConnectionMock, which is not there...

To fix, please implement TYPO3\CMS\Install\Database\DatabaseConnectionMock::isConnected():

public function isConnected() {
return true;
}

Thanks

Actions #1

Updated by Morton Jonuschat about 9 years ago

  • Status changed from New to Needs Feedback

I tried to reproduce this but can't reproduce.

What I did:

1. Modify my GFX setup, changed path so that GraphicsMagick isn't found
2. Ran the mentioned function in the test setup

Result: Error: Image generation failed ImageMagick / GraphicsMagick handling is enabled, but the execute command returned an error.
No Exception

1. Modify my GFX setup, changed path so that GraphicsMagick isn't found
2. Modify my DB setup, changed the port so that connection can't be established.
3. Ran the mentioned function in the test setup

Result: Error: Image generation failed ImageMagick / GraphicsMagick handling is enabled, but the execute command returned an error.
No Exception

Performed both tests in Live & Development preset.

Can you elaborate how to provoke this error, it seems there is a step missing.

Actions #2

Updated by Alexander Opitz almost 9 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF