Copied to clipboard

Flag this post as spam?

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


  • Runar Løseth 11 posts 92 karma points
    Nov 04, 2022 @ 08:53
    Runar Løseth
    0

    uSync struggling with tabs

    Hi there, I recently tried importing our Umbraco 10 settings to a completely new database and I'm getting quite a lot of warnings that certain properties are not imported correctly because uSync couldn't find the tab they are supposed to go into.

    Example: enter image description here

    Now, I've checked the config file for this document type, and the tab is definitely there at the bottom:

    <Tabs>
    <Tab>
      <Key>9a022632-e716-48ae-8ab9-a95553f2f1f9</Key>
      <Caption>Content Settings</Caption>
      <Alias>contentSettings</Alias>
      <Type>Tab</Type>
      <SortOrder>2</SortOrder>
    </Tab>
    <Tab>
      <Key>cb9c40a6-8737-4ee5-97c5-18900e3c3c9e</Key>
      <Caption>Content</Caption>
      <Alias>content</Alias>
      <Type>Tab</Type>
      <SortOrder>1</SortOrder>
    </Tab>
    

    So after running this sync, if I run it again the tab comes in and there are fewer warnings this time around, if I run the sync 3-4 times it's all there in the end. Any idea why these warnings are popping up?

    I tried doing a clean export via uSync and importing into a completely fresh database but that didn't fix anything.

  • Kevin Jump 2309 posts 14673 karma points MVP 7x c-trib
    Nov 04, 2022 @ 09:06
    Kevin Jump
    100

    Hi,

    Yeah its something that we try our best to cope with but sometimes it gets a little messed up

    There has been a bit of an issue long term with the inclusion of tabs vs groups for the content.

    If content was once in a group but is now in a tab, and the tab or group and those tabs or groups where used in multiple compositions across Umbraco then uSync can't just up and change a group to a tab on one of the elements without it causes errors in umbraco !

    so uSync creates temporary tabs/groups when this happens and then at the end of the sync renames them all back to the right things.

    if this works then you don't notice anything, but if this goes wrong then you do :(

    I think that is why 3-4 syncs fix it, but longer term it's something that really should only take one.

    So, i have a request

    in order for us to track this down and fix it more could you send me ([email protected]) a copy of your uSync folder?

    Feel free to remove any media/content you don't want us to see, but with the datatypes and doctypes folder it would help us see more examples of this and hopefully find a nicer way of making it work in one.

  • Runar Løseth 11 posts 92 karma points
    Nov 04, 2022 @ 09:14
    Runar Løseth
    0

    Hi Kevin,

    Quick reply, thanks! I'll mail you a copy as soon as I have time!

    Cheers :)

Please Sign in or register to post replies

Write your reply to:

Draft