We found that publishing a sub Item with Publish related item published the Home Node.How can this happen ?
Note;- the Published user doesn't have access to the Home node,even then the Home node got Published .
Sitecore Stack Exchange is a question and answer site for developers and end users of the Sitecore CMS and multichannel marketing software. It only takes a minute to sign up.
Sign up to join this communityIn Sitecore when you publish an item through the Publish item
dialog, you will find several options. You can choose between Smart publish
or Republish
, you can also choose whether to Publish subitems
or not and there is also an option of Publish related items
As the name indicates Publish subitems
will publish all the subitems including all sub-level of the currently selected item for the publish.
As the name indicates Publish related items
will publish all the related items of the currently selected item for the publish, but with this statement, it is not clear what are the related items. actually if "Publish related items" checked then the <getItemReferences>
pipeline will be executed to get all the related items to add in publishing queue
. It includes -
AddItemCloneReferences
processor - it includes all the clone items of the item which are publishingAddFileDropAreaMediaReferences
and AddItemLinkReferences
(use for both media and content items) processor – it includes media items that are related to the published item.AddItemAliasReferences
processor– items that are aliases of the selected item.AddItemLinkReferences
processor - Items are that has referce of published itemsThe important thing here is that Sitecore use Link database base for related publishing so if your link database is not rebuilt properly or not up to date then this feature will not work properly. Also, related items of related items will not be published.
In your case, I guess home Item reference of publishing item so when you check the Publish related items
checkbox it published with one of the publishing items. Please make check the reference if any or try to rebuild the Link database
if you don't find any reference.