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

Bug: Revert tree (items not controlled by Unicorn) not working with Unicorn 4.0.0 #237

Closed
hombreDelPez opened this issue Jun 29, 2017 · 1 comment

Comments

@hombreDelPez
Copy link

hombreDelPez commented Jun 29, 2017

Do you want to request a feature or report a bug?
Possible bug.

What is the current behavior?
The Revert tree button from the DEVELOPER ribbon doesn't sync the items back from the file system when the items are not controlled by Unicorn:
image
The other two buttons Revert item and Revert database however work as expected.

It is also interesting that the Serialize tree button is not working (items not controlled by Unicorn) when using Unicorn 3.3.2, see this bug report. I had the same behaviour on various solutions and even on a completely clean solution. With Unicorn 4.0.0 the serializiation works but not the deserialization.

If the current behavior is a bug, please provide the steps to reproduce.

  • Install a clean Sitecore 8.2.x instance with Unicorn 4.0.0
  • Choose a item with child items which is not under controll of Unicorn and Serialize tree with the DEVELOPER ribbon
  • Delete one of the child items in Sitecore or change the values of some of the child items on the file system
  • Now revert this tree via the DEVELOPER ribbon
  • Nothing happens

What is the expected behavior?

  • The tree in Sitecore should have the same state as the items in the file system

Please mention your Sitecore version and Unicorn version.
Sitecore 8.2.1 with Unicorn 4.0.0

@kamsar
Copy link
Collaborator

kamsar commented Jul 20, 2017

Good catch. I'm going to close this and leave #238 open for the fix.

@kamsar kamsar closed this as completed Jul 20, 2017
kamsar added a commit that referenced this issue Sep 11, 2017
Use correct revertTree command from Sitecore as fallback fixes #237
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