Closed nitsan-technologies closed 1 year ago
Hey, check your Upgrade Wizard. There was a change in persistence of type Content
fields.
https://docs.typo3.org/p/mask/mask/main/en-us/ChangeLog/8.1/Index.html#upgrade-wizard-necessary
// composer mode
vendor/bin/typo3 upgrade:run migrateContentFields
// classic mode
typo3/sysext/core/bin/typo3 upgrade:run migrateContentFields
Hello @nhovratov
Thanks For the quick help 🙏
I have already checked the whole documentation as you have shared and followed these points.
Thanks Again.
@nitsan-technologies I just tested the same constellation with a Content field on the page table in TYPO3 v11 and updated to v12. After running the upgrade wizard, the relation was restored correctly.
I have no idea, what went wrong in your installation. What you need to do, is to check the database tt_content table.
There should be a colum called tx_mask_faq_parent
, which points to the uid of the page record.
This was changed to three new columns:
tx_mask_faq_parent
)tx_mask_faq
)pages
)The migration wizard does just that. Have a look. As long as you didn't delete tx_mask_faq_parent
, you should be able to restore the relation.
@nitsan-technologies were you able to resolve the problem?
@nhovratov Thanks For the follow-up.
I have checked your last comment and Implemented all the points in my project.
Something wrong with my specific project. so I have created a new upgrade wizard class. See here for your understanding > https://prnt.sc/s8iA6ElLUy0K File Path > Classes>Updates>MigratePageFaq.php
Based on your last comment everything is working well with another project and setup but the issue occurs on my specific project.
Now Issue is resolved with our custom solution.
If you have any idea about this issue in the future please connect with me. really I want a better solution 🥲
I appreciate your dedication and Quick Support.
Thanks Again!
Thanks for coming back and posting your solution! I will have an eye on this. For now, I'll close this one as I can't see anything wrong in my migration wizard.
I have faced major issues after upgrading from TYPO3 v11 To TYPO3 v12.
My issue is all the content was removed from the content field after upgrading my project. Can you please check the below screenshot and help me for the same?
Field: https://prnt.sc/f1Tbb4R-9I48 Removed data: https://prnt.sc/XmV2xgtzVr8l TYPO3 v11 Data: https://prnt.sc/4NL-GfOk9VnW
Thanks in advance 🙏