Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usync Publisher Push Content Action Issue #210

Open
alfonso-jimenez-evelyn opened this issue Nov 21, 2023 · 1 comment
Open

Usync Publisher Push Content Action Issue #210

alfonso-jimenez-evelyn opened this issue Nov 21, 2023 · 1 comment

Comments

@alfonso-jimenez-evelyn
Copy link

Describe the bug
When we tried to push content to another server, instead create a new node, tries to update a deleted node from the target server. Also if there isn't deleted, sometimes it doesn't detect any new changes in the node between servers.

Version (please complete the following information):

  • Umbraco Version: 12.2.0
  • uSync Version: 12.1.0
  • uSync.Complete Version: 12.1.0

To Reproduce
Steps to reproduce the behavior:

  1. Delete a node in the target server.
  2. Try to push the same node with changes to the target server from another server.
  3. See error

Expected behavior
If the node is already deleted, when you try to push the same node from another server, it should creates a new one in the target server.

Screenshots
If applicable, add screenshots to help explain your problem.
image

@KevinJump
Copy link
Member

Hi,

Some of this behavior is expected,

for simplicity, we assume there is a 'source' and 'target' site

  1. if you delete an item on your "target" site, and then publish that item from a "source" - uSync will take the deleted item and restore it to umbraco then it will publish it.

  2. If you delete an item on stage and publish the folder the item was in, with "Delete missing items" checked, then uSync will move the item into the recycle bin on the target site.
    note: even if you delete an item on the source - and empty the recycle bin, on the target, usync will only even put the item into the recycle bin. this is so you can if you need to restore on the live site

  3. if you restore an item from the recycle bin on source, it will not be published by umbraco (only moved in and saved)
    if you then do a push to target there will be no changes - because uSync.Publisher only deals in published content
    if you then publish the restored item and push it or its folder there should be a change and it will be pushed to target.

  4. If you delete on source, empty recycle bin, and push - step 2 happens.
    if you then create a new content item with the same name as the item you have just deleted, and push that, a new item should be created on the target site.
    (so on the target site you will see the new page in the content, and the old page in the recycle bin).

this is again as intended; a deleted item will be restored if it's the same item (e.g. has the same key). but a new item with a different key, is new and created as such.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants