Open Closed

PersonalSettingsComponent omits required appName from PUT /api/account/my-profile — profile save broken since 10.1 #10652


User avatar
0
johan.versteeg created

Description: Since ABP 10.1, UpdateProfileDto.AppName is required on the backend. However, the stock PersonalSettingsComponent in @volo/abp.ng.account never includes appName in the PUT /api/account/my-profile request body. As a result, saving personal settings fails with a validation error for every user using the default Angular profile page.

Steps to reproduce: Start a stock ABP Commercial Angular project on 10.1 or later Log in and navigate to My Account → Personal Info Change any field and click Save Observe the request to PUT /api/account/my-profile — appName is absent from the body The backend returns a validation error

Expected behavior: The request includes appName: 'Angular' and the profile saves successfully.

Actual behavior: The request body omits appName, causing a backend validation failure.

Affected versions: 10.1, 10.2, ???

Workaround: We applied a patch to node_modules/@volo/abp.ng.account that adds appName: 'Angular' to the profileService.update() call in PersonalSettingsComponent.ngSubmit():

- this.profileService.update(profile).subscribe(res => {
+ this.profileService.update({ ...profile, appName: 'Angular' }).subscribe(res => {

Environment: ABP Commercial Angular @volo/abp.ng.account 10.2.1 .NET backend

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

3 Answer(s)
  • User Avatar
    0
    sumeyye.kurtulus created
    Support Team Angular Expert

    Hello,

    Thank you for reporting this issue. We plan to resolve it in the next patch release. You can follow upcoming releases here: https://github.com/abpframework/abp/releases

    We will also process a refund for this ticket.

    Please let us know if you need any further assistance. Thank you for your cooperation.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    johan.versteeg created

    Thanks for your reply. On which minor version(s) are you planning on fixing this?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    sumeyye.kurtulus created
    Support Team Angular Expert

    Since the latest maintained stable version is 10.3, the fix will be implemented at this level.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.