为什么我必须经常使用智能发布来纠正问题?
我经常遇到 Sitecore 网站内的内容问题。今天的示例是内容编辑器新添加到媒体库中的图像。他们运行了增量发布,内容项有效,但图像无效。智能发布解决了这个问题。
此时,每当遇到小问题时,我都会智能发布,因为它经常解决我的问题。
我想知道这是否是正常行为。我担心我们有某种更大的潜在数据库问题。
为什么当智能发布可以解决问题时,增量发布却无法解决问题?
On a regular basis I run in to content issues within our Sitecore websites. Today's example was an image that was newly added to the media library by a content editor. They ran an incremental publish and the content item worked, but the image did not. A Smart Publish fixed this issue.
At this point I Smart Publish any time I run in to a minor issue because it fixes my issue so often.
I'm wondering if this is normal behavior. I'm concerned that we have some kind of larger potential database issue.
Why would an Incremental Publish not fix an issue when a Smart Publish does fix an issue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为这不是一个普遍问题。增量发布与发布队列配合使用,在许多情况下发布队列不会填满所有更改的项目。当您更改模板 IIRC 中的某些内容时,就会发生这种情况。智能发布仅尊重项目的修订。如果它发生了变化,该项目就会被发布 - 非常简单的规则。这就是为什么它选择了一些增量发布没有选择的东西。
有关 SDN 上发布的文档应该包含更多有关它的详细信息。
I don't think it is an issue in general. Incremental Publish works with the publish queue, and there are a number of cases when the publish queue doesn't get filled with all changed items. This happens when you change something in template, IIRC. The Smart Publish only respects the revision of an item. If it has changed, the item gets published - very simple rule. That's why it picks a number of things the Incremental Publish does not.
The docs about Publish on SDN should contain more details around it.