databaseapi:databasecompare drops needed 'categories' fields · Issue #92 · TYPO3-coreapi/ext-coreapi · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 15, 2023. It is now read-only.
Hi,
unfortunately this is a bug that can cause to lose data.
When run: typo3/cli_dispatch.phpsh extbase core_a_p_i:databaseapi:databasecompare 5
these fields are dropped:
pages.categories
tt_content.categories
sys_file_metadata.categories
but they shouldn't be dropped.
From what I could debug the problem seems to be in function 'databaseCompare' because variable $tblFileContent doesn't get the table definitions for these fields so the function 'thinks' that those are not necessary. But they are! In fact the Database analyzer of Install tool asks to re-add them.
I can't go any further but please have a look at this and if you need more info just ask.
Thank you.
The text was updated successfully, but these errors were encountered:
Hi,
unfortunately this is a bug that can cause to lose data.
When run:
typo3/cli_dispatch.phpsh extbase core_a_p_i:databaseapi:databasecompare 5
these fields are dropped:
but they shouldn't be dropped.
From what I could debug the problem seems to be in function 'databaseCompare' because variable $tblFileContent doesn't get the table definitions for these fields so the function 'thinks' that those are not necessary. But they are! In fact the Database analyzer of Install tool asks to re-add them.
I can't go any further but please have a look at this and if you need more info just ask.
Thank you.
The text was updated successfully, but these errors were encountered: