No consequential item changes - Sitecore with Unicorn
#sitecore #unicorn

No consequential item changes - Sitecore with Unicorn

While doing some Sitecore items clean up activity we have faced one Unicorn issue while moving some of Sitecore items from one folder to another Sitecore parent node.

We observed that Unicorn is not able to move those items from source to destination. We quickly looked at the Logs and the below are the respective logs

INFO AUDIT (sitecore\admin): Move item: master:/sitecore/content/ABC/Home/Data/Videos/FirstVideo, language: en, version: 2, id: {75A227AA-5FF2-4BE6-BFD2-F52AFE47FBAC} to sitecore://master/{BAE484E4-DADC-4E42-8F20-A584FD158EDE}?lang=en&ver=1

INFO [Unicorn]: Serialization File System Data Store: Moved serialized item 

/sitecore/content/ABC/Home/Data/Videos/FirstVideo (75a227aa-5ff2-4be6-bfd2-f52afe47fbac) 

to /sitecore/content/ABC/Home/Data/Videos

INFO [Unicorn]: Serialization File System Data Store: Ignored save of 

/sitecore/content/ABC/Home/Data/Videos/FirstVideo 

because it contained no consequential item changes.

Sitecore item structure

No alt text provided for this image

Unicorn is recognizing both Source path and destination path is same and hence items are not moving. This is because of same path and same item name.

Quick fix : Just change the name of Source item or destination item name.

Try again and you can observe that items will be moved without any issues.

Lesson learnt # Source item path and destination items path should not be same even if they are created based on different templates.

No alt text provided for this image


要查看或添加评论,请登录

Hussain Shaik的更多文章

社区洞察

其他会员也浏览了