I sent you an email
After liangshiwei chat I solvd the issue which was related to this:
https://github.com/abpframework/abp/pull/6734
On the appsettings file, I added
"RedirectAllowedUrls": "https://frontend.net"
plus added the code below on ApplicationHttpApiHostModule
options.RedirectAllowedUrls.AddRange(configuration["App:RedirectAllowedUrls"].Split(','));
@alper, OK no problem
The result is that the paginations buttons do not looks good:
I did see a similar issue which have been fixed on version 4.2 apparently but for MVC only
https://github.com/abpframework/abp/issues/7183
https://github.com/abpframework/abp/commit/cbc61af768dd4ffc786df47db0038856bf3e6fcc
Is there any schedule to be fixed for Angular (if not done already), or any way to fix it?
Update on 13/05/2021: I upgrade to ABP.IO 4.3.0 and still got the issue (I created the error while in version 4.2.1)
Thanks
I have a similar issue after I migrate to 4.3.
I migrate from 4.21 to 4.3, then I did notice that when I regenerate entities of my solution, it was creating index and FK to my navigation properties. As it is a good improvement I wanted to regenerate all entities. It works well for all my entites except the one which have Navigation properties "AppUserId".
I see this line added on MyProjectDbContextModelCreatingExtensions, into builder.Entity<MyExistingEntity>
b.HasOne<AppUser>().WithMany().HasForeignKey(x => x.AppUserId);
This line was not generate on version 4.21 and the entity generation was working well.
I just try and fixed my issue yes.
Thanks a lot
I started to migrate a soution from 4.21 to 4.3, then I did notice that when I regenerate entities of my solution, it was creating index and FK to my navigation properties. As it is a good improvement I wanted to regenerate all entities.
It works well for all my entites except the one which have Navigation properties "AppUserId".
I got a long error message (see attachment bellow), the most important seems this:
The property 'AppUser.ExtraProperties' could not be mapped because it is of type 'ExtraPropertyDictionary', which is not a supported primitive type or a valid entity type. Either explicitly map this property, or ignore it using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.
I see this line added on MyProjectDbContextModelCreatingExtensions, into builder.Entity<MyExistingEntity>
b.HasOne<AppUser>().WithMany().HasForeignKey(x => x.AppUserId);
I see some posts about it: https://github.com/abpframework/abp/issues/927 https://github.com/abpframework/abp/issues/1414 https://github.com/abpframework/abp/issues/1517 https://github.com/abpframework/abp/issues/2746
But YourDbContextModelCreatingExtensions.cs is modified by ABP suite just before trying to "generate" my migration script, so I can not test the suggestions
I did some tests and noticed that the error is coming from this line
NOTE: I put a comment to a similar question (without mentionning that it is realted to the update), as it is open since 2 weeks and still not assigned, I post it here.
https://support.abp.io/QA/Questions/1263/abp-suite---AppUser-as-navigation-property-is-not-working
Thanks for your help.
Helo,
I am actually working with Lan.
I changed as you said but it does not work, I changed it from host admin account.
When I run the application and go to login page (Angular) it is still english, once login, it remain english.
Yes, I was wondering. However they do not mention if it is when running the app or the generated migration script or when the are "building" the entity (which generate the migration script
Following your links I tried:
https://support.abp.io/QA/Questions/1280/The-property-'OrganizationUnitExtraProperties'-could-not-be-mapped-because I added b.ConfigureExtraProperties(); b.ConfigureByConvention(); //This one was already on the code In the method OnModelCreating, into builder.Entity<AppUser> It does not work. I am not 100% sure if I should add this on AppUer or on myEntity. I can not add ConfigureExtraProperties on myEntity, forst because it does not exists for my entity, plus ConfigureMyApp is regenerated when rebuild my entity, so i can not do changes on it
https://support.abp.io/QA/Questions/1271/Add-relation-between-AbpUser-to-My-Table I added builder.ConfigureIdentityPro(); Into ConfigureMyProject method, I then added it into OnModelCreating as it was not working Not working neither
https://github.com/abpframework/abp/issues/8019 About this, not sure I am concerned as I have error even before my migration file get generated.
I will keep doing some tests through information I get from your links though, but I would appreciate some more help as I am not sure to find out the issue.
Thanks
Any update about it?