Activities of "balessi75"

Thanks @maliming

Now I know to check base class interfaces and included them in the [ExposeServices] attribute.

Also, LeptonErrorViewComponent's Invoke method is not overridable (virual) so the component cannot be replaced.

We are looking to change only the html on the error page. So we followed the instructions here: https://docs.abp.io/en/abp/latest/UI/AspNetCore/Customization-User-Interface#overriding-a-razor-page-cshtml

In following those instructions, we created a modified Default.cshtml under the same folder structure in our project as defined in Abp (see below). The problem is though that we don't see our changes and the Abp error page still shows. Any ideas?

Thanks for confirming the fix in the next version. The workaround for now works as expected.

Hi @maliming,

We are using Lepton.

Hi @maliming,

You can reproduce 3 sorting issues using the https://github.com/balessi75/FM.Test project.

  1. Extended properties (mapped to EF) on ABP entities do not sort properly. You can see this by trying to sort on the "Host" column in the tenant management page
  2. Boolean properties for ABP entities do not sort properly. You can see this by sorting on the "Active" column under the User Management page.
  3. User Management's calculated "Roles" column does not have sorting enabled. If we replace/override the user management page and make the column sortable, we receive the following exception...

No property or field 'RoleNames' exists in type 'IdentityUser' (at index 24)

           UserManagementTableColumns
            .AddRange(new TableColumn[]
            {
                   ...
                        new TableColumn {
                            Title = L["Roles"],
                            Data = nameof(IdentityUserDto.RoleNames),
                            ValueConverter = (data) =>
                            {
                                var roleNames = (data as IdentityUserDto)?.RoleNames;
                                return roleNames == null ? string.Empty : string.Join(", ", roleNames);
                            },
                            Sortable = true
                        }
                    ...

Is sorting with paged result sets supported with this kind of calculated column?

Hi @maliming,

Just wanted to thank you for the quick turnaround on this issue. Your solution worked perfectly. Thank you, we appreciate the support!

Hi @maliming,

I sent you a direct email with details for reproducing/troubleshooting...

hi

I will check and find a way.

Excellent, thank you @mailiming

Hi @maliming,

We are not having any success. We successfully replaced TenantManagment.razor. From there, it wasn't exactly clear to us on how to correctly add the tenant's domain to the action of ImpersonationForm, so for a proof of concept, we hardcoded the action URL as follows:

Once we did this and then attempted to impersonate the tenant, we are directed to the login screen for that tenant (instead of instantly being logged in as the tenant). When we then try to login to the tenant, we receive the following error:

Impersonating a user within a tenant works fine because everything is under the same sub domain URL.

We also tried overriding the OnPostAsync() method of ImpersonateTenantModel and changed return Redirect("~/"); to direct to the tenant's sub domain URL, and this seems to work, but the 'return to impersonator' link no longer appears and were not sure this is the correct way of implementing tenant impersonation with each tenant having it's own subdomain.

Showing 101 to 110 of 165 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 16, 2025, 10:35