Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "PhilWynn"

Hi,

Yes, it is being executed.

I have since found, that if I use an instance of LocalizationManager rather than the static LocalizationHelper method, I do get the correct localized string back.

I would, however, appreciate a solution for LocalizationHelper, as using an instance will cause me much refactoring.

Many thanks

Thank you. That solved it...

Hi,

Sorry, should have mentioned, I am using MVC, jQuery version (Abp v3.8.3)

Hi,

Yes, I can confirm that the database has been migrated successfully.

NormalizedUserName does not exist in the MVC version.

Looks like an issue has now been created to increase the max length of UserName:

<a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/3502">https://github.com/aspnetboilerplate/as ... ssues/3502</a>

Hi,

AbpUserBase.MaxUserNameLength is a constant. I cannot change this...

Any more thoughts on this please...

Hi,

I already did this. I have had the long UserName working for some time now on a previous version of ABP.

The error I am getting is since updating to v3.5 ABP and comes from Entity Framework (see log text in previous post)

Cheers

Hi,

That got me some of the way there...

I added the following to dBContext..

modelBuilder.Entity<User>().Property(u => u.UserName).HasMaxLength(256);
modelBuilder.Entity<UserAccount>().Property(u => u.UserName).HasMaxLength(256);

I then performed a migration. This succeeded, and User.UserName and UserAccount.UserName are now set at nvarchar(256)

However, attempting to create a user, I get an Internal Server Error, with the following message in the log file:

ERROR 2018-06-07 15:11:48,617 [10 ] loud.EntityFramework.IppexCloudDbContext - There are some validation errors while saving changes in EntityFramework: ERROR 2018-06-07 15:11:48,617 [10 ] loud.EntityFramework.IppexCloudDbContext - - UserName: The field UserName must be a string with a maximum length of 32.

So, something is still holding on to the 32 character limit.

I am using AspNetZero v4 MVC with Abp v3.5

On it's way...

Thank you

Hi,

The above link is broken. Any chance I could be provided with the current link to that post.

Many thanks.

Showing 31 to 40 of 75 entries