小编Ber*_*Net的帖子

Sitecore在智能发布上更新了很多项目

我正在使用Sitecore 8.0 Update 5.每次我使用英语以外的语言进行"智能"发布时,我都可以看到数千个项目正在更新.

Job started: Publish to 'web'
Items created: 0
Items deleted: 0
Items updated: 56207
Items skipped: 13057
Job ended: Publish to 'web' (units processed: 69258)
Run Code Online (Sandbox Code Playgroud)

我已经启用了跟踪,在日志中我可以看到Sitecore更新了这些项目的共享字段

##Publish Item: Name=sitecore, Uri=sitecore://master/{11111111-1111-1111-1111-111111111111}?lang=zh&ver=1, Operation=Updated, ChildAction=Allow, Explanation=Shared fields were published.
##Publish Item: Name=templates, Uri=sitecore://master/{3C1715FE-6A13-4FCF-845F-DE308BA9741D}?lang=zh&ver=1, Operation=Updated, ChildAction=Allow, Explanation=Shared fields were published.
##Publish Item: Name=List Manager, Uri=sitecore://master/{D2833213-CB77-431A-9108-55E62E4E47FD}?lang=zh&ver=1, Operation=Updated, ChildAction=Allow, Explanation=Shared fields were published.
Run Code Online (Sandbox Code Playgroud)

对于树中的每个项目,列表都是这样的.有了dotPeek,我能够在发布管道中找到一个负责确定发布操作的方法:

private void HandleSourceVersionNotFound(Item sourceItem, PublishItemContext context)
{
  Assert.ArgumentNotNull((object) sourceItem, "sourceItem");
  Item targetItem = context.PublishHelper.GetTargetItem(sourceItem.ID);
  if (targetItem != null) …
Run Code Online (Sandbox Code Playgroud)

sitecore sitecore8

9
推荐指数
1
解决办法
607
查看次数

标签 统计

sitecore ×1

sitecore8 ×1