Skip to content

Fix localization for SavedSuccessfully in feature management MVC notification#25286

Merged
yagmurcelk merged 1 commit into
rel-10.3from
issue-22171
Apr 17, 2026
Merged

Fix localization for SavedSuccessfully in feature management MVC notification#25286
yagmurcelk merged 1 commit into
rel-10.3from
issue-22171

Conversation

@maliming

Copy link
Copy Markdown
Member

After saving the "Manage host features" modal in the MVC UI, the success notification shows the raw key SavedSuccessfully instead of the translated text.

SavedSuccessfully is defined in AbpUiResource, not in AbpFeatureManagementResource. The HttpApi and Blazor modules already register AbpUiResource as a base type, but the MVC Web module does not. In microservice setups where the web gateway only references HttpApi.Client (not HttpApi), the base type is missing and the lookup falls back to the key name.

Add AddBaseTypes(typeof(AbpUiResource)) in AbpFeatureManagementWebModule, matching how AbpPermissionManagementWebModule, AbpAuditLoggingWebModule, AbpOpenIddictProWebModule and other Web modules do it.

Resolves https://github.com/volosoft/volo/issues/22171

Copilot AI review requested due to automatic review settings April 17, 2026 08:31
@maliming maliming added this to the 10.3-patch milestone Apr 17, 2026
@maliming maliming requested a review from yagmurcelk April 17, 2026 08:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes missing localization fallback in the Feature Management MVC/Web module so common UI messages (e.g., SavedSuccessfully) resolve via AbpUiResource instead of showing the raw key, particularly in gateway/microservice setups that reference only HttpApi.Client.

Changes:

  • Adds AbpUiResource as a base type for AbpFeatureManagementResource in AbpFeatureManagementWebModule.
  • Adds required using directives to support the new localization configuration.

@yagmurcelk yagmurcelk merged commit e19345e into rel-10.3 Apr 17, 2026
7 checks passed
@yagmurcelk yagmurcelk deleted the issue-22171 branch April 17, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants