Improvement description
pimcore:build:classes is intendet to be used for CI during build step and therefore should work without a database connection.
Actually there are some data-types at the moment that require a DB, mostly variants of the select data-type.
The actual problem is when calling configureOptions() e.g. here:
https://github.com/pimcore/pimcore/blob/3ffaeac8d9f07f877ea4f469015be1774de447b9/models/DataObject/ClassDefinition/Data/Language.php#L73
If in this case, e.g. the system-config is stored in the settings-store (like in the demos) it tries to load the available languages from the database.
But the same also happens with other data-types.
Improvement description
pimcore:build:classesis intendet to be used for CI during build step and therefore should work without a database connection.Actually there are some data-types at the moment that require a DB, mostly variants of the select data-type.
The actual problem is when calling
configureOptions()e.g. here:https://github.com/pimcore/pimcore/blob/3ffaeac8d9f07f877ea4f469015be1774de447b9/models/DataObject/ClassDefinition/Data/Language.php#L73
If in this case, e.g. the system-config is stored in the
settings-store(like in the demos) it tries to load the available languages from the database.But the same also happens with other data-types.