Activities of "chrisalves"

Hi @maliming,

Thank you for the clarification on this issue — I really appreciate your assistance.

We’ve decided not to change anything in the code for now and will wait for the bug to be fixed in a future release. In the meantime, we are implementing an internal procedure to address the password‑complexity requirement, even though this setting is disabled in the tenant configuration. Your well‑documented workaround may still be helpful for others who choose to apply it in their environments.

Have a great day!

Hi @maliming,

Thanks for the clarification regarding the distributed event background process. I investigated the application logs as you suggested and found the root cause of the issue.

Findings

There is a password complexity validation enforcing in the background when trying to change the password. This validation is enforcing the use of non-alphanumeric characters. However, I realized several inconsistencies in how the standard ABP platform handles this:

1. Missing UI Feedback

The front-end does not display the result of this validation. It simply shows a success toast because the event was published, misleading the user.

2. Configuration Ignored

As shown in the bellow attached image, the current tenant configuration does not require non-alphanumeric characters (it only requires a minimum of 6 characters). The system should accept a simple password based on these settings.

3. Inconsistent Validation (Creation vs. Update)

When creating a brand new tenant, the system does not enforce a complex password for the new admin. It creates the user without any restrictions. The strict validation only occurs when the Host Admin tries to change a Tenant Admin password later.

Tests Performed

To validate this behavior, I ran the following tests:

  • Test 1 (Failed): Using the password CafeForte456 (no special characters). The log shows a failure, and the password is not changed.

  • Test 2 (Success): Using the password CafeForte@456 (with a special character). The password updates successfully.

It seems to be a bug in the business rules enforcing a condition that is not required in the Tenant settings.

Looking forward to your feedback.

Best regards.

Hi,

I am requesting a review from a human support agent, as the AI-generated response suggests a manual fix/workaround for what appears to be a fundamental bug in the standard ABP Studio template.

To clarify:

I have no customizations: This is a clean, unmodified application generated directly via ABP Studio (version 1.0.2).

Standard Feature Failure: The "Set Password" functionality for Tenant Users via the Host UI is a built-in feature of the SaaS/Identity modules.

Best regards.

Environment Details

  • ABP Studio Version: 2.2.6
  • UI Framework: Blazor Server
  • Architecture: Tiered
  • Identity Server: OpenIddict
  • Database: SQL Server (Separate Tenant Schema)
  • Distributed Event Bus: RabbitMQ
  • Template: app
  • Created ABP Studio Version: 1.0.2
  • Current ABP Studio Version: 2.2.6
  • Tiered: Yes
  • Multi-Tenancy: Yes
  • UI Framework: blazor-server
  • Theme: leptonx
  • Theme Style: system
  • Theme Menu Placement: side
  • Database Provider: ef
  • Database Management System: sqlserver
  • Separate Tenant Schema: Yes
  • Create Initial Migration: Yes
  • Run Db Migrator: Yes
  • Mobile Framework: maui
  • Public Website: Yes
  • Social Login: Yes
  • Include Tests: Yes
  • Kubernetes Configuration: No
  • Distributed Event Bus: rabbitmq
  • Use Local References: No
  • Optional Modules:
    • GDPR
    • FileManagement
    • TextTemplateManagement
    • LanguageManagement
    • AuditLogging
    • Chat
    • OpenIddictAdmin
  • Selected Languages: English, English (United Kingdom), 简体中文, Español, العربية, हिन्दी, Português (Brasil), Français, Русский, Deutsch (Deuthschland), Türkçe, Italiano, Čeština, Magyar, Română (România), Svenska, Suomi, Slovenčina, Íslenska, 繁體中文
  • Default Language: English
  • Create Command: abp new NewApp -t app --tiered --ui-framework blazor-server --mobile maui --database-provider ef --database-management-system sqlserver --theme leptonx --separate-tenant-schema --public-website --without-cms-kit --dont-run-bundling -chat -file-management

Ticket Description

Subject: Password change for Tenant User via Host Admin UI does not persist or sync with AuthServer


Description: When changing a Tenant's user password through the Host Admin UI, the system returns a success notification, but the authentication process still requires the old password.


Steps to Reproduce (as shown in attached images)

  1. Created a new tenant with Password_A.

  2. Logged in as Host Admin, navigated to the Tenant's user management, and updated the password to Password_B. A success toast message was displayed.

  3. Attempted to log in using the new Password_B. The system returned an "Invalid username or password" error.

  4. Attempted to log in using the old Password_A. The login was successful, proving the update was not effectively persisted in the authentication layer.


Expected Behavior

The old password should be invalidated immediately, and the new password should be required for all subsequent login attempts.

Hi ABP Folks,

I´d like to get an architect guy guidance instead of bot answer to be as close as possible of the ABP solution evolution.

Check the docs before asking a question: https://abp.io/docs/latest Check the samples to see the basic tasks: https://abp.io/docs/latest/samples The exact solution to your question may have been answered before, and please first use the search on the homepage.

Provide us with the following info: 🧐 Hint: If you are using the ABP Studio, you can see all the information about your solution from the configuration window, which opens when you right-click on the solution and click on the Solution Configuration button.

  • Template: app
  • Created ABP Studio Version: 1.0.2
  • Current ABP Studio Version: 1.4.1
  • Tiered: Yes
  • Multi-Tenancy: Yes
  • UI Framework: blazor-server
  • Theme: leptonx
  • Theme Style: system
  • Theme Menu Placement: side
  • Run Install Libs: Yes
  • Database Provider: ef
  • Database Management System: sqlserver
  • Separate Tenant Schema: Yes
  • Create Initial Migration: Yes
  • Run Db Migrator: Yes
  • Mobile Framework: maui
  • Public Website: Yes
  • Social Login: Yes
  • Include Tests: Yes
  • Kubernetes Configuration: No
  • Distributed Event Bus: rabbitmq
  • Use Local References: No
  • Optional Modules:
    • GDPR
    • FileManagement
    • TextTemplateManagement
    • LanguageManagement
    • AuditLogging
    • Chat
    • OpenIddictAdmin
  • Selected Languages: English, English (United Kingdom), 简体中文, Español, العربية, हिन्दी, Português (Brasil), Français, Русский, Deutsch (Deuthschland), Türkçe, Italiano, Čeština, Magyar, Română (România), Svenska, Suomi, Slovenčina, Íslenska, 繁體中文
  • Default Language: English
  • Create Command: abp new NewApp -t app --tiered --ui-framework blazor-server --mobile maui --database-provider ef --database-management-system sqlserver --theme leptonx --separate-tenant-schema --public-website --without-cms-kit --dont-run-bundling -chat -file-management
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I have a question regarding the default behavior of the ABP Suite templates, specifically related to file upload fields (as shown in the attached screenshot).

By default, when the user selects an image in the input field, the upload is triggered immediately on the frontend. The problem is that if the user cancels the operation like refreshing the page (F5) or closes/discards the form the uploaded file remains stored both in the file descriptor and in Blob Storage and there is no instruction on how to avoid it or cleanup procedure.

I would like to know what you recommend for handling this scenario, the ABP Architecture recomendation on how to handle this issue, as example below but not limited to them.

  • Is there a way to adjust or extend the ABP Suite templates so that the upload only occurs during the Create action (i.e., only after the user clicks the SAVE button)?
  • Is this issue mapped by ABP and there is a workaround solution until the fix to be implemented on a future release?
  • Alternatively, is there a recommended approach to automatically clean up previously uploaded files when the user cancels the form?

I understand that it is possible to implement a fully custom upload flow but I preffer to keep as much as possible the standard ABP solution/architecture. Before going down that path for customization, I would like to know whether ABP Suite provides any recommended extension points or best practices to modify this default behavior.

Thank you in advance for your guidance.

Hi !

You didn´t understand what I´m requesting in this issue. We need to keep using the CSS files, they were referenced in this "demo app" only to allow you easily run something and help us to reference them correctly. I´m pasting here below what I sent you on March 3rd., so please help us to reference the 2 files correctly on the solution to avoid the error.

The home page loads the CSS files but with error on the path.

We are using custom CSS files called user.css and bootstrap-user.css

These 2 files are part of our application and need to be referenced correctly. /css/user.css /css/bootstrap-user.css

Can you adjust the Sample application we send you containing the 2 CSS files so they can be referenced and loaded correctly?

[maliming] said: hi This seems a bit complicated. Could you try to reproduce the same problem in a new template project? Thanks.

Hi. I reproduced the error in new solution sent to you through Github repo named StandardApp.

Thanks.

Hi!

OK. I will.reproduce on a clean solution an share it with you on GitHub and let you know.

Hi! Thanks for your return. I think something is missing on your end, my bad skipped to instruct you in advance.

  • Need to run Azurite that emulates Azure in local PC (the image files are stored at Azure)
  • In DbMigrator folder, find the batch file RunDev.bat and run it. There are some data feeds that is needed to run the application, not only those made by ABP but others. See the screen below:
  • Install Libs (this is the first usage after download from GitHub

Launch the 3 servers using AbpStudio (remember to start Docker also)

The development environment resolve the names pointing to a localhost 127.0.0.1 made by our DNS Server BUT need be called as below: The URLs are: a) AuthServer https://auth-dev.pipali.com.br

b) HttpHost.Api https://api-dev.pipali.com.br

c) Blazor https://dev.pipali.com.br

Showing 1 to 10 of 88 entries
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 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.