8000 databaseapi:databasecompare drops needed 'categories' fields · Issue #92 · TYPO3-coreapi/ext-coreapi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Aug 15, 2023. It is now read-only.

databaseapi:databasecompare drops needed 'categories' fields #92

Closed
webian opened this issue Sep 13, 2014 · 0 comments
Closed

databaseapi:databasecompare drops needed 'categories' fields #92

webian opened this issue Sep 13, 2014 · 0 comments
Assignees
Labels
Milestone

Comments

@webian
Copy link
webian commented Sep 13, 2014

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.

@Konafets Konafets self-assigned this Oct 19, 2014
@Konafets Konafets added the bug label Oct 19, 2014
@Konafets Konafets added this to the 1.0.1 milestone Oct 19, 2014
Konafets pushed a commit that referenced this issue Oct 20, 2014
@Konafets Konafets added the ready label Oct 20, 2014
@Konafets Konafets removed the ready label Oct 20, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants
0