【问题标题】:Sitecore not publishing bucket foldersSitecore 未发布存储桶文件夹
【发布时间】:2016-11-16 15:59:30
【问题描述】:

我们有一个内容文件夹,它已变成一个存储桶,用于管理其中包含的大量项目。存储桶项目通过工作流发布,存储桶项目由定期运行的计划发布来发布。

在大多数情况下,就存储桶项目的创建和编辑过程而言,一切都运行良好。但是存储桶文件夹有时会拒绝发布。检查存储桶文件夹后,我们发现存储桶文件夹创建了版本 1,但是当您检查该版本时,它只列出了“修改 [未设置] 者”。这会导致文件夹项目未在 PublishQueue 表中注册且未发布。

解决此问题的最简单方法是右键单击文件夹项目,单击重命名,然后在弹出消息上单击确定。这会将版本消息更新为属性修改者和日期值。发布过程也将其拾取。

有没有人遇到过这个问题或者有什么建议让我们尝试一下?

【问题讨论】:

  • 您使用的是什么版本的 Sitecore?
  • Sitecore 8 rev. 150223

标签: sitecore sitecore8 buckets


【解决方案1】:

这是一个已知的错误。

1) 将附加的 Sitecore.Support.413254.dll 文件放到 Webiste\bin 文件夹中。

2) 从 Website\App_Config\Inculde 文件夹中备份“Sitecore.Buckets.config”文件。

3) 在“Sitecore.Buckets.config”文件中,更改以下处理器:

  <publish>
   <!-- Extending publish pipeline to always add bucket folders to the queue when a bucketed item is being published  -->
   <processor patch:after="processor[@type='Sitecore.Publishing.Pipelines.Publish.AddItemsToQueue, Sitecore.Kernel']" type="Sitecore.Buckets.Pipelines.Publish.AddBucketFoldersToQueue, Sitecore.Buckets" />
  </publish>

使用此处理器:

    <publish>
     <!-- Extending publish pipeline to always add bucket folders to the queue when a bucketed item is being published  -->
     <processor patch:after="processor[@type='Sitecore.Publishing.Pipelines.Publish.AddItemsToQueue, Sitecore.Kernel']" type="Sitecore.Support.Buckets.Pipelines.Publish.AddBucketFoldersToQueue, Sitecore.Support.413254" />
    </publish>

这里是 dll:

https://www.dropbox.com/s/thr94mqi8967dab/Sitecore.Support.413254.dll?dl=0

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-11-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-02-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多