-
-
Notifications
You must be signed in to change notification settings - Fork 70
Description
Using Sitecore Power Shell 6.4 on a Sitecore 9.1 instance.
Expected Behavior
Expect script to upload a file trough Receive-File
Actual Behavior
Get an exception:
[AccessDeniedException: Calling Spe.Client.Applications.UploadFile.PowerShellUploadFileForm.CancelClick method through reflection is not allowed.] Sitecore.Reflection.MethodFilter.Filter(MethodInfo method) +1166 Sitecore.Shell.Framework.Commands.CommandManager.GetMethodCommand(String command) +701 Sitecore.Web.UI.Sheer.ClientPage.Dispatch(String command) +35 Sitecore.Web.UI.Sheer.ClientPage.RaiseEvent() +124 Sitecore.Web.UI.Sheer.ClientPage.OnPreRender(EventArgs e) +806 System.Web.UI.Control.PreRenderRecursiveInternal() +200 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Steps to Reproduce the Problem
- Security Bulletin SC2023-003-587441 path must be installed.
- Click on either Ok or Cancel buttons from the Receive-File modal window throws the exception. Regardless of having or not a file selected.
Potential fix tried
As highlighted by the Security Bulleting page, tried to path exceptions for the mentioned methods on Sitecore.Reflection.Filtering.config.
I tried #1, then #2 and then #3. Finally all toguether, just to be sure.
Problem still persists.
Could it be a know issue? Thanks in advance of any advice.
-
Tested issue with clean install of Sitecore and the latest available version of SPE.
-
Asked questions on the Sitecore Slack Chat channel.
-
Reviewed questions and answers on the Sitecore Stack Exchange.
