SitecoreUnicorn / Unicorn

A Sitecore utility designed to simplify deployment of Sitecore items across environments automatically
MIT License
269 stars 116 forks source link

CopyTo: the generated yml has wrong Parent ID #264

Closed dplutino closed 6 years ago

dplutino commented 6 years ago

Hi,

I experienced an abnormal behavior. I have the following tree under a Unicorn configuration: `

If I do a CopyTo of item "c" into "a", the generated "/a/c.yml" has the ID of "b" (instead of the ID of "a") in the "Parent" field. If I reserialize "c", the Parent field becomes correct.

If needed, I can send the showconfig.aspx xml.

Thanks

kamsar commented 6 years ago

Upgrade to the latest 3.2.x version. Pretty sure that is a fixed issue.

On Sun, Dec 17, 2017, 8:01 AM Diego Plutino notifications@github.com wrote:

Hi,

I experienced an abnormal behavior. I have the following tree under a Unicorn configuration:

-

a

b

  • c If I do a CopyTo of item "c" into "a", the generated "/a/c.yml" has the ID of "b" (instead of the ID of "a") in the "Parent" field. If I reserialize "c", the Parent field becomes correct.
  • Sitecore 8.1 (rev. 160519)

  • Unicorn 3.1.1

  • Lot of Helix modules deployed (I eredited a solution...)

If needed, I can send the showconfig.aspx xml.

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kamsar/Unicorn/issues/264, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGU_Rta6uOeLFcSSWAnF6r-G1VnVtdsks5tBTrQgaJpZM4REs8t .

dplutino commented 6 years ago

I upgraded to 3.2.0 and now it works! Thanks a lot