「item:moving」イベントが、SXAサイトのアイテムをパブリッシュする際にエラーをスローする


解説

一部のアイテムを「Master」データベースに移行した後で、未処理の例外でパブリッシュが失敗する場合があります。問題が発生すると、以下のメッセージがログ ファイルに出力されます。

ERROR One or more exceptions occurred while processing the subscribers to the 'item:moving' event.
Exception[1]: System.NullReferenceException 
Message[1]: Object reference not set to an instance of an object. 
Source[1]: Sitecore.XA.Foundation.Multisite 
at Sitecore.XA.Foundation.Multisite.EventHandlers.VirtualMediaFolderValidator.OnItemMoving(Object obj, EventArgs args)
at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result)

この問題は、SXA 1.7.0~1.7.1で発生します。

解決策

この問題を解決するには、次のページにある影響を受ける製品バージョンと互換性のあるパッチをダウンロードしてインストールしてください。
https://github.com/SitecoreSupport/Sitecore.Support.13144/releases