Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX] Allow to update DB schema without ext_tables.php #534

Merged
merged 1 commit into from
Aug 11, 2017
Merged

[BUGFIX] Allow to update DB schema without ext_tables.php #534

merged 1 commit into from
Aug 11, 2017

Conversation

helhum
Copy link
Member

@helhum helhum commented Aug 11, 2017

We added this step to the bootstrap of
database:updateschmea command only because TYPO3 8 needs
TCA to add additional fields to the schema.

With this we however run into a chicken/egg issue, when an
extension tries to access DB (most likely a cache table)
in the process of reading ext_tables.php

Now we read TCA early on, when reading extension configuration,
which is exactly what happens in TYPO3 9 anyway,
so we can skip reading ext_tables.php for updating the DB schema.

We added this step to the bootstrap of
database:updateschmea command only because TYPO3 8 needs
TCA to add additional fields to the schema.

With this we however run into a chicken/egg issue, when an
extension tries to access DB (most likely a cache table)
in the process of reading ext_tables.php

Now we read TCA early on, when reading extension configuration,
which is exactly what happens in TYPO3 9 anyway,
so we can skip reading ext_tables.php for updating the DB schema.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant