APS Installer is creating a inconsistent mess when creating databases

short description

APS Installer is not consistent when creating databases.

Example: Client C40 was deleted 3 weeks ago, client C39 installs wordpress via the APS Installer, now his database is C40xxx.

Client C60 was deleted, client C58 nstalls wordpress via the APS Installer, now his database is C60xxx.

correct behaviour

The database namescheme should be coherent to that of that client.

EXAMPLE: C50 FOR C50 AND NOT C48 FOR C50.

environment

Server OS: (debian)
Server OS version: (9) ISPConfig version: (3.1.14p2)

If it might be related to the problem
It is an ISPConfig error.

proposed fix

APS Installer should check the client ID and adhere to that when creating a database.

Example: If client is C10 then the database namescheme should also start with c10.

screenshots

ispconfig-aps-errors

log entries

None necessary.

Edited by Johan Germeshuysen