YAFLogo

Hakan
  • Hakan
  • 51.4% (Neutral)
  • YAF Forumling Topic Starter YAF Version: YAFNET v4.0.0 RC 3
13 days ago
I am just upgrading an old implementation of YAF to v4.0.0 RC 3 SQL Server on a new site built with .NET Core. Apart from the issue described in the title, "updating a user's email address updates the current admin users own email", there seem to be other issues with user management. I cannot update a user's password, getting the following error:

[color=var(--color-heading-main)][font="Segoe UI", Tahoma, Arial, Helvetica, sans-serif]An unhandled exception occurred while processing the request.[/font][/color]

[font="Segoe UI", Tahoma, Arial, Helvetica, sans-serif]InvalidOperationException: Could not create an instance of type 'System.Tuple`4[[YAF.Types.Models.User, YAF.Types, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null],[YAF.Types.Models.Identity.AspNetUsers, YAF.Types, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null],[YAF.Types.Models.Rank, YAF.Types, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null],[YAF.Types.Models.VAccess, YAF.Types, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Model bound complex types must not be abstract or value types and must have a parameterless constructor. Record types must have a single primary constructor. Alternatively, set the 'EditUser' property to a non-null value in the 'YAF.Pages.Admin.EditUser.UsersChangePassModel' constructor.[/font]

[font="Segoe UI", Tahoma, Arial, Helvetica, sans-serif]Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinder.CreateModel(ModelBindingContext bindingContext)[/font]

Has anyone else encountered this issue?

I have run the downloaded YAF.NET Release (MS SQL Package) against my upgraded DB and still have the same result.

Thanks in advance

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
11 days ago
Thank you for your report. Both issues will be fixed with the next RC update.
Hakan
  • Hakan
  • 51.4% (Neutral)
  • YAF Forumling Topic Starter YAF Version: YAFNET v4.0.0 RC 3
11 days ago
That's great, thank you. Do you have an ETA for the next RC update, just wondering