Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception after completing the first step of the sign up #52

Open
MikeAlhayek opened this issue Nov 10, 2022 · 2 comments
Open

Exception after completing the first step of the sign up #52

MikeAlhayek opened this issue Nov 10, 2022 · 2 comments

Comments

@MikeAlhayek
Copy link
Contributor

after creating the registration steps and try to complete the first step, I get the following exception

An unhandled exception occurred while processing the request.
MissingMethodException: Method not found: 'System.Threading.Tasks.Task`1<!!0> YesSql.SessionExtensions.GetAsync(YesSql.ISession, Int32, System.String)'.

Surevelox.OrchardCore.Data.Store<T>.GetAsync(int id)

    Stack Query Cookies Headers Routing 

    MissingMethodException: Method not found: 'System.Threading.Tasks.Task`1<!!0> YesSql.SessionExtensions.GetAsync(YesSql.ISession, Int32, System.String)'.
        Surevelox.OrchardCore.Data.Store<T>.GetAsync(int id)
        a.U.BindModelAsync(ModelBindingContext bindingContext)
        Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder.BindModelAsync(ActionContext actionContext, IModelBinder modelBinder, IValueProvider valueProvider, ParameterDescriptor parameter, ModelMetadata metadata, object value, object container)
        System.Runtime.CompilerServices.ValueTaskAwaiter<TResult>.GetResult()
        Microsoft.AspNetCore.Mvc.Controllers.ControllerBinderDelegateProvider+<>c__DisplayClass0_0+<<CreateBinderDelegate>g__Bind|0>d.MoveNext()
        Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted)
        Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted)
        Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
        Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
        Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted)
        Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
        Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
        Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
        SixLabors.ImageSharp.Web.Middleware.ImageSharpMiddleware.Invoke(HttpContext httpContext, bool retry)
        Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
        OrchardCore.Liquid.ScriptsMiddleware.Invoke(HttpContext httpContext)
        Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
        Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
        OrchardCore.Diagnostics.DiagnosticsStartupFilter+<>c__DisplayClass3_0+<<Configure>b__1>d.MoveNext()
        Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context)
        OrchardCore.Modules.ModularTenantRouterMiddleware.Invoke(HttpContext httpContext)
        OrchardCore.Modules.ModularTenantContainerMiddleware+<>c__DisplayClass4_0+<<Invoke>b__0>d.MoveNext()
        OrchardCore.Environment.Shell.Scope.ShellScope.UsingAsync(Func<ShellScope, Task> execute, bool activateShell)
        OrchardCore.Environment.Shell.Scope.ShellScope.UsingAsync(Func<ShellScope, Task> execute, bool activateShell)
        OrchardCore.Environment.Shell.Scope.ShellScope.UsingAsync(Func<ShellScope, Task> execute, bool activateShell)
        OrchardCore.Environment.Shell.Scope.ShellScope.UsingAsync(Func<ShellScope, Task> execute, bool activateShell)
        OrchardCore.Modules.ModularTenantContainerMiddleware.Invoke(HttpContext httpContext)
        Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

image

@ns8482e
Copy link
Contributor

ns8482e commented Nov 14, 2022

It seems version mismatching with dlls - fix will be available in next rc version

This is due to OC versioning is not truly following conventional commits ( https://www.conventionalcommits.org)
in conventional commit feat is treated minor version upgrade, and braking changes are treated as major change. But in OC breaking changes are introduced between minor versions updates.

So Nuget thinks minor version upgrades are compatible, but they are really not

Related issue OrchardCore#12827

@ns8482e
Copy link
Contributor

ns8482e commented Nov 17, 2022

@MikeAlhayek Fix is available in 1.5.0-rc-20221117.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants