アイテムの RSS ステータスを特定する際のエラー


説明

メディア アイテムの操作中に、ログ ファイルに次のエラーが記録される場合があります。

WARN  The standard values field of template /sitecore/templates/System/Media/Versioned/Image:{C97BA923-8009-4858-BDD5-D8BE5FCCECF7} does not contain an ID that points to a child
ERROR Error while trying to determine RSS status of the item. The likely reason is that standard values reference of the template is broken. RSS 'Design' button is disabled. Item: /sitecore/media library/path/to/item
Exception: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: Sitecore.Kernel
   at Sitecore.Syndication.RenderingAssignmentStrategy.GetStandardValuesItem(Item contentItem)
   at Sitecore.Syndication.RenderingAssignmentStrategy.GetTarget(Boolean create)
   at Sitecore.Syndication.RenderingAssignmentStrategy.TryGetTarget()
   at Sitecore.Shell.Applications.Feeds.Commands.SetFeedPresentation.QueryState(CommandContext context)

この事象は、次のメディア アイテム テンプレートのスタンダード バリューが正しくない為に発生します。

解決策

この事象は、メディア アイテムの通常の作業に悪影響を与えるものではありません。

ただし、該当のメディア アイテムを RSS フィードで利用できるようにする場合、上記のエラーにより適切なアイテム プレゼンテーションを設定できない場合があります。

この事象を解決するには、前述の各メディア テンプレートのスタンダード バリュー フィールド(高度な設定セクション)を、該当の __Standard Values アイテムに手動で設定する必要があります。