TYPO3-coreapi / ext-coreapi

http://forge.typo3.org/projects/show/extension-coreapi
61 stars 38 forks source link

databaseapi:databasecompare drops needed 'categories' fields #92

Closed webian closed 10 years ago

webian commented 10 years ago

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.