Copied to clipboard

Flag this post as spam?

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


  • Jojo V 64 posts 166 karma points
    Mar 17, 2021 @ 11:49
    Jojo V
    0

    uSync - Handlers config

    Hi,

    I have a problem with the Handlers settings. Names and the Handlers list are not displayed. enter image description here

    Don't know where the problem is? ( no logs )

    Config file uSync8.config contain default HandlerSets.

    Umrbaco8.12.1 + uSyncComplete8.9.2

    Thanks.

  • Kevin Jump 2348 posts 14896 karma points MVP 8x c-trib
    Mar 17, 2021 @ 12:11
    Kevin Jump
    0

    Hi,

    it might be a UI thing , can you look in the browser and see what teh results of the call to umbraco/backoffice/uSync/uSyncDashboardApi/GetSettings look like?

    this should contain the handler sets - it might be a case thing on the object (in which case i probably can guess what it is) or it might be something else more internal.

    enter image description here

  • Jojo V 64 posts 166 karma points
    Mar 17, 2021 @ 12:25
    Jojo V
    0

    Result look ok: enter image description here

    I manually copied the new files of the Umbraco and App_Plugins/uSync* folders and the result is the same.

    Is there something in the database?

  • Kevin Jump 2348 posts 14896 karma points MVP 8x c-trib
    Mar 17, 2021 @ 12:27
    Kevin Jump
    0

    Yeah

    its because you will have some code overriding the JSON formatting - and we haven't marked up teh handler set class correctly to not let that override break the return.

    Probibly something like this :

    JsonConvert.DefaultSettings = () => new JsonSerializerSettings
    {
        ContractResolver = new CamelCasePropertyNamesContractResolver()
    };
    

    uSync should be fine and will be working but we need to update an attribute on the class to force the result into upper case on the name.

  • Jojo V 64 posts 166 karma points
    Mar 17, 2021 @ 12:33
    Jojo V
    0

    Yes, this is problem :)

    Thanks.

  • Kevin Jump 2348 posts 14896 karma points MVP 8x c-trib
    Mar 17, 2021 @ 12:34
    Kevin Jump
    0

    will be fixed in the next release https://github.com/KevinJump/uSync8/issues/212

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies