Merge branch dev with rel-10.7 - #25995
Conversation
Copy the global feature policy to the extension property DTO
Merge branch rel-10.7 with rel-10.6
There was a problem hiding this comment.
Pull request overview
Automated merge PR that resolves a bug in ABP’s ASP.NET Core MVC application configuration DTO generation for object extension policies, ensuring GlobalFeature policies are mapped correctly and covered by a regression test.
Changes:
- Fix
CachedObjectExtensionsDtoServiceto mapGlobalFeaturesfrompropertyConfig.Policy.GlobalFeatures(instead of incorrectly usingFeatures). - Add a regression unit test to ensure feature and global feature policies remain distinct.
- Update
.claude/settings.local.jsonpermissions allowlist configuration.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/ObjectExtending/CachedObjectExtensionsDtoService.cs | Corrects DTO mapping so GlobalFeatures uses the right policy source. |
| framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/ObjectExtending/CachedObjectExtensionsDtoService_Tests.cs | Adds regression coverage to prevent feature/global-feature policy mixing. |
| .claude/settings.local.json | Adjusts local permissions allowlist configuration. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| public class CachedObjectExtensionsDtoService_Tests | ||
| { | ||
| private const string ModuleName = "CachedObjectExtensionsDtoServiceTestModule"; | ||
| private const string EntityName = "TestEntity"; | ||
|
|
||
| [Fact] |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #25995 +/- ##
==========================================
+ Coverage 48.79% 49.01% +0.22%
==========================================
Files 3804 3805 +1
Lines 132233 132259 +26
Branches 10027 10027
==========================================
+ Hits 64519 64825 +306
+ Misses 65788 65493 -295
- Partials 1926 1941 +15 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This PR generated automatically to merge dev with rel-10.7. Please review the changed files before merging to prevent any errors that may occur.