Sitecore PowerShell拡張機能(SPE)のOnDoubleClickエラー


解説

Sitecore.Reflection.Filtering.configのOnDoubleClickメソッド名が間違っていると、インスタンスのダブルクリック機能が正常に機能せず、ログに次のエラーが記録される可能性があります。

Exception: Sitecore.Exceptions.AccessDeniedException
Message: Calling Spe.Client.Applications.PowerShellResultViewerList.OnDoubleClick method through reflection is not allowed.
Source: Sitecore.Kernel
at Sitecore.Reflection.MethodFilter.Filter(MethodInfo method) ...

解決策

解決策として、以下のオプションのいずれかを検討してください。

変更前:

<descriptor type="Spe.Client.Applications.PowerShellResultViewerList" methodName="OnDoubleClick " assemblyName="Spe" hint="OnDoubleClick "/>

変更後:

<descriptor type="Spe.Client.Applications.PowerShellResultViewerList" methodName="OnDoubleClick" assemblyName="Spe" hint="OnDoubleClick"/>