Console icon indicating copy to clipboard operation
Console copied to clipboard

Quick Download Tree as Package: Including Linked Item; SiteCore Root included breaking Sitecore on Install

Open sonicdivx opened this issue 5 years ago • 4 comments

Expected Behavior

Using Quick Download Tree as Package and including Linked Items the package created should be able to be installed without breaking the SiteCore Root

Actual Behavior

When Quick Download is used without selecting any linked items, it creates a package that will successfully install. When adding linked items and the package is installed. Sometimes the SiteCore root node is corrupts and all sites disappear or the Site the package is for becomes corrupted and disappears.

Steps to Reproduce the Problem

Right-click on page node in website. Select Scripts Select Packaging Select Quick Download Tree as Package Set Package Meta-Data (FYI package name does not get used for Download file - another issue) Set Installation options (if Set to overwrite it will corrupt SiteCore, Merge is more likely to corrupt site) Set Other > Linked Items. (Screenshots are when I included just Images)

Images included in Package Path: package.zip/items/master/sitecore image

No Images Included Path: package.zip/items/master/sitecore image

Please include the version number of SPE and Sitecore.

Sitecore PowerShell Extensions 5.0.0.42513 Sitecore 9.1 Windows PowerShell 5.1

  • [ ] Tested issue with clean install of Sitecore and the latest available version of SPE. NO

  • [ ] Asked questions on the Sitecore Slack Chat channel. NO

  • [ ] Reviewed questions and answers on the Sitecore Stack Exchange. NO

sonicdivx avatar Apr 20 '20 14:04 sonicdivx

Any idea why the root node is included with the linked items?

michaellwest avatar Apr 20 '20 17:04 michaellwest

No, at first I thought maybe a bad right-click, this has happened many times. Where as Package Designer does not do this. I am mostly a front-end dev, but our backend team doesn't use this (they use Package Designer). I like quick actions like this.

sonicdivx avatar Apr 20 '20 18:04 sonicdivx

Would it be reasonable to exclude the root node and siblings? Not sure anyone would knowingly select them.

Can you click on the root node and then in the ribbon click Links? Should show you referers.

michaellwest avatar Apr 20 '20 22:04 michaellwest

Yeah I can check that. Yeah not sure why someone would want the root node when doing a quick tree download.

sonicdivx avatar Apr 25 '20 02:04 sonicdivx