Copied to clipboard

Flag this post as spam?

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


  • Vladica Ivanovski 17 posts 87 karma points
    Mar 11, 2021 @ 11:02
    Vladica Ivanovski
    0

    Pulling inconsistency

    Hi Kevin,

    There seems to be some strange issue when pulling and pushing content from one to another server. I have the following scenario:

    I pushed content from production to our stage server. The content was created fine on stage, except that the sorting on some of the nodes was inconsistent. Then I go on stage and do pull on the newly created content to make sure that it is aligned with the one from production. The report says that there are lots of differences in these 2 nodes. And there shouldn't be any. enter image description here:

    And the details says the following:

    enter image description here

    What could be wrong here?

    Regards, Vladica

  • Kevin Jump 2343 posts 14890 karma points MVP 8x c-trib
    Mar 11, 2021 @ 11:23
    Kevin Jump
    0

    Hi,

    i think its because the parent name/alias has changed so all the nodes paths will have changes (while you see those two changes).

    did you sync the parent node between the sites too ? I suspect because the parent name is diffrent it will report this as a change for all child nodes.


    In most situations these two changes won't actually do anything, the path of the content item is stored in two places - one by key and one by path (you are setting the path change here).

    the path change is only there incase we can't find the parent by its key. if it is found by the key the path isn't used - but here you can see if is a difference as far as the compare is concerned because the parent's name has changed.


    I think , we might be able to look at removing this as a change in uSync.Complete because you would also get a change report if the key name was diffrent so if we just remove these it won't make any diffrence.

  • Vladica Ivanovski 17 posts 87 karma points
    Mar 11, 2021 @ 11:29
    Vladica Ivanovski
    0

    Hi Kevin,

    Thanks for the quick reply.

    That is the problem actually. No changes have been made on the parent nodes. The full path to these 2 nodes is totally equal in both servers.

    I only did a fresh push and right after I went to check by pulling the same content to see if both will by in sync.

    I can provide you screenshots if needed.

    Regards, Vladica

  • Kevin Jump 2343 posts 14890 karma points MVP 8x c-trib
    Mar 11, 2021 @ 11:37
    Kevin Jump
    0

    Its worth noting that when pushing/pulling content it is comparing with published versions of the page on the other server not the content saved version (this might be different).

    is it possible the published parent name is diffrent even if the saved on isn't?

    This is because uSync.Publisher uses the PublishedContentHandler by default (if you want it to work on Saved content you can change this to the 'standard' content handler in the uSync8.config file)

  • Vladica Ivanovski 17 posts 87 karma points
    Mar 11, 2021 @ 12:17
    Vladica Ivanovski
    0

    Can you please instruct me on that "standard" setting how to use it as I don't see anything like that in uSync.config file.

  • Kevin Jump 2343 posts 14890 karma points MVP 8x c-trib
    Mar 11, 2021 @ 12:29
    Kevin Jump
    0

    Hi, your uSync8.config file should look something like this : https://github.com/Jumoo/uSync.Complete.Issues/blob/main/configs/uSync8.config#L22

    the "default" section is the set of handlers used by the usync dashboard (with the report, import, export buttons)

    the "Publisher" set is used by uSync.Publisher which is the push/pull actions in the menus.

    the "Publisher" section has a content handler set to:

    Published Content

    <Handler Alias="publishedContentHandler" Enabled="true" Actions="All" />
    

    This handler works on Published content not saved content . if you switched this out for the handler commented out below it and uSync.Publisher would be using 'saved' content.

    Saved Content:

    <Handler Alias="contentHandler" Enabled="true" Actions="All" />
    

    Published content is used by default because in general you will want the published sites to look the same - i.e. don't want to get caught out by saved content leaking onto your live site.

  • Vladica Ivanovski 17 posts 87 karma points
    Mar 11, 2021 @ 12:37
    Vladica Ivanovski
    0

    Yes, I am only interested in moving of published content.


    In my case the content I was moving was all published, that is why I experienced this issue, and to be honest I still don't understand it why is it happening.

  • Kevin Jump 2343 posts 14890 karma points MVP 8x c-trib
    Mar 11, 2021 @ 14:03
    Kevin Jump
    0

    Hi,

    On each server what is the name of the parent node . starting "Omdennelse IVS.." The pull indicates that this file is different between sites ?

    it would seem one has (10055) in the title? and that is the change that uSync is picking up and noticing down the tree as a change (although its only a change in parent node).

  • Vladica Ivanovski 17 posts 87 karma points
    Mar 11, 2021 @ 20:19
    Vladica Ivanovski
    0

    The parent names are same on both servers.

Please Sign in or register to post replies

Write your reply to:

Draft