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

TtContentRelation updatescript doesn't migrate all mm relations from news to tt_content #69

Closed
patrickroquin opened this issue Apr 19, 2016 · 1 comment

Comments

@patrickroquin
Copy link

Reproducing this issue

  • Use content element relation
  • Add a new news record with content element relation in TYPO3 6.2 with news version 3.1.0
  • Make a copy of this news record (the content element id will be the same!!! this is different in TYPO3 7.6 with news 4.2.1)
  • Migratie it to TYPO3 7.6 with news version 4.2.1 and use the update script in the install tool (with news 3.2.0 changes relation from mm table to tx_news_related_news field in tt_content)

There will be some relations lost from news records to content elements, so some content elements will not be shown

Fix
Extend the update script TtContentRelation.php > performUpdate:
If there are more relations to the same content element, copy this content element

@georgringer
Copy link
Owner

Even though that the bug report is valid, I won't do any changes there anymore as I will remove the wizard with the next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants