Bug #69225
closedDatabaseConnectionMock missing method isConnected
0%
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
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.
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.