Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Ben 2 posts 72 karma points
    Oct 14, 2019 @ 11:39

    Content lost when updating from (Obsolete) Content Picker to Content Picker

    We are looking to upgrade Umbraco from v7 to v8 and to prepare for the content migration discussed here: we are following instructions to update all Obsolete Data Types to their updated counterparts.

    We have noticed in development that on updating Obsolete Content Picker to Content Picker, any content we have set up is removed. This is far from ideal as would be a fairly large job for us to go through and re-add the content for all cases in all our environments.

    We have not noticed the same behaviour for Media Picker. Content is not affected as we have found for content picker.

    Are we missing something or is there no way around this and will we have to go through the content and re-populate it following the data type updates?

    Many Thanks, Ben

  • Steve Megson 151 posts 1000 karma points MVP c-trib
    Oct 14, 2019 @ 12:26
    Steve Megson

    Changing the editor for a data type doesn't change the stored data for any existing content using that data type. So you still have the integer IDs stored in the database, but the editor now expects to be given a UDI so it displays nothing selected.

    Unfortunately I don't think v7 provides a way to convert the existing data. I've submitted a pull request here to handle the conversion during the migration to v8.

  • Ben 2 posts 72 karma points
    Oct 14, 2019 @ 12:49

    Thanks for the clarification Steve. Will look out for approval of the pull request!

  • Guru Prasad 11 posts 80 karma points
    Mar 16, 2020 @ 07:45
    Guru Prasad

    Hello, we are also facing the same issue where on changing obsolete content pickers to new content pickers, the values are not showing in the interface and the site also breaks.

    As per Umbraco upgrade process to V8, they strongly suggest to first change these obsolete properties.

    But if we change, our values are getting lost (not sure in the DB but in the UI at-least its not showing.

    Any help would be greatly appreciated.

  • Danny Summers 4 posts 73 karma points
    Sep 29, 2022 @ 06:17
    Danny Summers

    Did you end up resolving this? I'm experiencing the same issue.

Please Sign in or register to post replies

Write your reply to: