abp icon indicating copy to clipboard operation
abp copied to clipboard

Entity Extensions Issue

Open xxvolvo opened this issue 3 years ago • 7 comments

When I upgrade to 6.0.0,the ExtraProperties do not read or write from the specific fields,but from the ExtraProperties. I have configure the ModuleExtensionConfigurator both in Domain.Shared and EntityFrameworkCore. It works well in 6.0.0-rc

xxvolvo avatar Oct 08 '22 06:10 xxvolvo

It works well in 6.0.0-rc

What is the version of rc?

maliming avatar Oct 08 '22 10:10 maliming

6.0.0-rc.4

xxvolvo avatar Oct 08 '22 10:10 xxvolvo

Please share a GitHub repository to reproduce the problem, Thanks.

maliming avatar Oct 10 '22 01:10 maliming

https://github.com/xxvolvo/TestExtraProperties The demo use PostgreSQL. I add a new field --"LineManagerId" and u can post "api/app/test/test" directly. The result like this image but in 6.0.0.-rc4 it will be like this image (this demo has an other ExtraPropertie)

xxvolvo avatar Oct 10 '22 03:10 xxvolvo

Can confirm, its this line causing to remove all Extending configuration to be removed. https://github.com/abpframework/abp/blob/ccbdfa58212d64e0ca624058acede03002a4aeb6/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/ModuleExtensionConfigurationHelper.cs#L177

When I remove it, I can get my ExtraProperties successfully. Before: 1

After: 2 3

iamsedatozturk avatar Oct 10 '22 11:10 iamsedatozturk

hi

https://github.com/abpframework/abp/pull/14306

maliming avatar Oct 13 '22 00:10 maliming

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 16 '22 03:12 stale[bot]