Copied to clipboard

Flag this post as spam?

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


  • Jules 276 posts 587 karma points
    Jan 24, 2024 @ 12:58
    Jules
    0

    User properties and User Groups not imported/created when importing Users

    Hi there

    Umbraco 8.18.12

    These are the usync versions enter image description here

    Imported content/media etc into a blank Umbraco instance with Exporter all good!

    Imported users into same instance. Users imported but their custom UserGroups are not imported.

    It seems the UserGroup is in the import

    enter image description here

    However, it is not created

    In addition user properties are not added. This one is missing User Group and start nodes

    enter image description here

    Hope that's enough info.

    Regards

    Jules

  • Kevin Jump 2343 posts 14890 karma points MVP 8x c-trib
    Feb 01, 2024 @ 12:18
    Kevin Jump
    0

    Hi Jules,

    apologies again for the delay, i missed this one.

    Yes there was an option missing, so we've updated the packages for v8 now.

    enter image description here

    due to some of the internals, we can't calculate the users groups as dependencies on the users, so you have to pick both the users and the groups you want to export, and then when they are imported all the bits will be there.

    v8.11.14 of uSync.Complete (which should also update you to v8.11.8 for the main uSync packages).

    https://www.nuget.org/packages/uSync.Complete/8.11.14

  • Jules 276 posts 587 karma points
    Feb 01, 2024 @ 15:05
    Jules
    0

    Thanks Kevin.

    We need this fix to export current users in our dev environment to a new environment for testing so that's great!

    However, raises a question - Basically, I can't upgrade all of our environments to the latest version yet. If I upgrade our base environment but need to create sync packs (content/media + dependencies) with Exporter that are destined for environments that are not yet upgraded is this going to cause any issues?

    Hope that's clear

    Cheers

    Jules

  • Kevin Jump 2343 posts 14890 karma points MVP 8x c-trib
    Feb 01, 2024 @ 15:10
    Kevin Jump
    0

    Hi,

    I think the imports won't work without the fix, the user groups also needed a patch to get the extra bits synced in. so without the update i don't think you will see the new user groups :( .

  • Jules 276 posts 587 karma points
    Feb 01, 2024 @ 15:39
    Jules
    0

    To clarify I think the users and user groups fixes will not be required yet on our main environments. I'm referring to content/media + dependencies sync packs.

    So if I build a content/media etc sync pack on an v8.11.14 environment then use that sync pack to import to an v8.11.13 environment, could this cause any issues?

    Basically I'm getting push-back on adding a code change to our next release branch but I can add it to the release after that (and our dev environment). Hence the question

    Jules

  • Kevin Jump 2343 posts 14890 karma points MVP 8x c-trib
    Feb 01, 2024 @ 15:42
    Kevin Jump
    0

    Yeah that will be fine, the format is all the same, so that will work fine.

  • Jules 276 posts 587 karma points
    Feb 01, 2024 @ 16:27
    Jules
    0

    Hi Kevin

    Thanks for confirming.

    Just ran the upgrade and it definitely worked as I an seeing the User Groups option in Exporter now.

    However, it didn't seem to update the ui.

    enter image description here

    Just letting you know.

    Jules

  • Kevin Jump 2343 posts 14890 karma points MVP 8x c-trib
    Feb 01, 2024 @ 16:31
    Kevin Jump
    0

    Oh i hate it when that happens, 😔 - its all automatic since v9 and i forget.

  • Jules 276 posts 587 karma points
    Feb 01, 2024 @ 16:43
    Jules
    0

    😂 sorry :(

  • Jules 276 posts 587 karma points
    Feb 05, 2024 @ 10:10
    Jules
    0

    JTLYK - user and user group import working fine now.

    Cheers

    Kevin

Please Sign in or register to post replies

Write your reply to:

Draft