Issue Bug Closed

#90219"Database name not valid" with sqlite and long path name

Daniel Siepmann 01/27/20, 17:21 updated 02/20/20, 10:35

Description

I receive the following issue with my current local Setup:

> Database name not valid
> Given database name must be shorter than fifty characters and consist solely of basic latin letters (a-z), digits (0-9), dollar signs ($) and underscores (_).

The setup uses current TYPO3 Master (as of writing), via composer using sqlite as configured database.
The error is shown in “Environment Status”.

I would guess the issue is set in typo3/sysext/install/Classes/SystemEnvironment/DatabaseCheck/Platform/AbstractPlatform.php and there should be a special handling for sqlite which doesn’t limit to 50 characters for the sqlite file path?

With this bug in place, it’s very hard to get a clean system report (which also executes the environment check).
Leading to spam like this:

> Issues:
> [ERR] System environment check – 1 Test(s)
> ### Database name not valid: 2

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.