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

[MAINTENANCE] Adjust language field in TCA #1104

Merged
merged 2 commits into from
Oct 10, 2024

Conversation

beatrycze-volk
Copy link
Collaborator

Error:

User Deprecated: Automatic TCA migration done during bootstrap. Please adapt TCA accordingly, these migrations will be removed. The backend module "Configuration -> TCA" shows the modified values. Please adapt these areas:
The TCA field 'sys_language_uid' of table 'tx_dlf_collections' is defined as the 'languageField' and should therefore use the TCA type 'language' instead of TCA type 'select' with 'foreign_table=sys_language' or 'special=languages'.
The TCA field 'sys_language_uid' of table 'tx_dlf_libraries' is defined as the 'languageField' and should therefore use the TCA type 'language' instead of TCA type 'select' with 'foreign_table=sys_language' or 'special=languages'.
The TCA field 'sys_language_uid' of table 'tx_dlf_metadata' is defined as the 'languageField' and should therefore use the TCA type 'language' instead of TCA type 'select' with 'foreign_table=sys_language' or 'special=languages'.
The TCA field 'sys_language_uid' of table 'tx_dlf_metadataformat' is defined as the 'languageField' and should therefore use the TCA type 'language' instead of TCA type 'select' with 'foreign_table=sys_language' or 'special=languages'.
The TCA field 'sys_language_uid' of table 'tx_dlf_structures' is defined as the 'languageField' and should therefore use the TCA type 'language' instead of TCA type 'select' with 'foreign_table=sys_language' or 'special=languages'.- DeprecationNotice: User Deprecated: Automatic TCA migration done during bootstrap. Please adapt TCA accordingly, these migrations will be removed. The backend module "Configuration -> TCA" shows the modified values. Please adapt these areas:
The TCA field 'sys_language_uid' of table 'tx_dlf_collections' is defined as the 'languageField' and should therefore use the TCA type 'language' instead of TCA type 'select' with 'foreign_table=sys_language' or 'special=languages'.
The TCA field 'sys_language_uid' of table 'tx_dlf_libraries' is defined as the 'languageField' and should therefore use the TCA type 'language' instead of TCA type 'select' with 'foreign_table=sys_language' or 'special=languages'.
The TCA field 'sys_language_uid' of table 'tx_dlf_metadata' is defined as the 'languageField' and should therefore use the TCA type 'language' instead of TCA type 'select' with 'foreign_table=sys_language' or 'special=languages'.
The TCA field 'sys_language_uid' of table 'tx_dlf_metadataformat' is defined as the 'languageField' and should therefore use the TCA type 'language' instead of TCA type 'select' with 'foreign_table=sys_language' or 'special=languages'.
The TCA field 'sys_language_uid' of table 'tx_dlf_structures' is defined as the 'languageField' and should therefore use the TCA type 'language' instead of TCA type 'select' with 'foreign_table=sys_language' or 'special=languages'., in file /var/www/html/public/typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php:1691

This change will not work for TYPO3 10.

Source: https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.2/Feature-57082-NewTCATypeLanguage.html

@sebastian-meyer
Copy link
Member

Since this is not compatble with TYPO3 v10, we should introduce this change with Kitodo.Presentation 6.x, which will support TYPO3 v11 and v12.

@sebastian-meyer sebastian-meyer added the 🛠 maintenance A task to keep the code up-to-date and manageable. label Dec 16, 2023
@sebastian-meyer sebastian-meyer changed the title Adjust language field in TCA [MAINTENANCE] Adjust language field in TCA Dec 16, 2023
@stweil
Copy link
Member

stweil commented Oct 10, 2024

Is this PR still needed for Kitodo.Presentation 6?

@sebastian-meyer
Copy link
Member

Yes, I think this is still relevant.

@sebastian-meyer sebastian-meyer merged commit 6eb65e3 into kitodo:master Oct 10, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛠 maintenance A task to keep the code up-to-date and manageable.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants