Hi,
We have problem after update to ver. 2023.1.2.99.
We have implemented menu buttons for Help Desk and Printing. In 2022, every user who have acces to instance can push button and print form or start help desk (button in menu was accesable in every step or last steps etc).
After the update buttons apear on the form but after clicking there is error... and users cant use it. Is it new feature or is it a bug. It looks like some save restrictions - but it was not the case in 2022 ver.
Do you have any idea how to change it? Thanks.
msg: An unhandled exception has occurred while executing the request. |
ex: System.ServiceModel.Security.SecurityAccessDeniedException: Użytkownik nie ma prawa edytowania elementu WorkFlow
at WebCon.WorkFlow.BusinessLogic.BusinessLogic.ElementManagement.WorkFlowObject.WorkFlowObjectForElementFormCreator.CheckPermissions(CreateWorkFlowObjectParams createWorkFlowObjectParams, Boolean saveOnlyComments)
at WebCon.WorkFlow.BusinessLogic.BusinessLogic.ElementManagement.WorkFlowObject.WorkFlowObjectForElementFormCreator.CreateWorkFlowObject(CreateWorkFlowObjectParams createWorkFlowObjectParams, Boolean saveOnlyComments)
at WebCon.BPSCloud.Integration.Base.BusinessLogic.ElementManagement.Actions.PortalUserActionExecutor.ExecuteUserActionAsync(IElementForm form, MenuActionButton button, String formRowVersion)
at WebCon.BPSCloud.Core.WfDynamic.Services.ActionService.InvokeMenuActionAsync(InvokeMenuActionParameters param)
at WebCon.BPSCloud.Core.WfDynamic.WFDynamicLiteManager.InvokeActionAsync(InvokeMenuActionParameters formParameters)
at WebCon.BPSCloud.Portal.API.FormsController.InvokeMenuAction(InvokeMenuActionParameters param)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at WebCon.BPSCloud.Portal.Extensions.DebugInfo.DebugInfoMiddleware.Invoke(HttpContext context, IDebugInfoGetter debugInfoGetter, IPerformanceCounterFactory counterFactory, IFrontendTraceProvider formatter, IDefaultableDbInfoProvider defaultableDbInfoProvider, IUserCredentialsManager userCredentialsManager, IDebugInfoManager debugInfoManager, IHttpContext synchronizedHttpCtx)
at WebCon.BPSCloud.Portal.Performance.PerformanceMarkMiddleware.Invoke(HttpContext context)
at WebCon.BPSCloud.Portal.Extensions.LicenceSetupMiddleware.InvokeAsync(HttpContext context)
at JSNLog.JSNLogMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at WebCon.BPSCloud.Portal.Extensions.RouteValuesTypeVerificationMiddleware.InvokeAsync(HttpContext context)
at WebCon.BPSCloud.Portal.Extensions.DesignerDesk.DesignerDeskActiveContextMiddleware.NotActive(HttpContext context)
at WebCon.BPSCloud.Portal.Extensions.DesignerDesk.DesignerDeskActiveContextMiddleware.InvokeAsync(HttpContext context)
at WebCon.BPSCloud.Portal.Extensions.RestApiLogging.RestApiLoggingMiddleware.Invoke(HttpContext context, IPerformanceCounterFactory counterFactory, IVersionPathParser versionParser, ICurrentUserProvider userProvider, IRestApiLoggingManager restApiLoggingManager)
at WebCon.BPSCloud.Portal.Extensions.RestApiLogging.RestApiStatusCodeMiddleware.Invoke(HttpContext context, IApiLogger apiLogger)
at WebCon.BpsCloud.IdentityServer.Hosting.IdentityServerMiddleware.Invoke(HttpContext context, IEndpointRouter router, IUserSession session, IEventService events)
at WebCon.BpsCloud.IdentityServer.Hosting.MutualTlsTokenEndpointMiddleware.Invoke(HttpContext context, IAuthenticationSchemeProvider schemes)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at WebCon.BpsCloud.IdentityServer.Hosting.BaseUrlMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
at WebCon.BPSCloud.Portal.Extensions.DesignerDesk.DesignerDeskContextMiddleware.InvokeAsync(HttpContext context)
at WebCon.BPSCloud.Portal.Extensions.MainContext.MainContextMiddleware.Invoke(HttpContext context, IDbRegistrator dbRegistrator, IHttpContextAccessor httpContextAccessor)
at WebCon.BPSCloud.Portal.Extensions.Transactions.TransactionManagerMiddleware.Invoke(HttpContext context, ITransactionMgrFactorySetter transactionMgrFactorySetter)
at WebCon.BPSCloud.Identity.MSOFBA.MSOFBAuthenticationMiddleware.Invoke(HttpContext context)
at WebCon.BPSCloud.Identity.Token.TokenEnforceMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.ResponseCaching.ResponseCachingMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)