Activities of "cellero"

  • ABP Framework version: v5.1.1
  • UI type: Blazor Server
  • DB provider: EF Core

The public DbSet is inserted into the wrong location in the xxxDbContext.cs file when generating with Abp Suite.

It is inserted inside public DbSet<IdentityUser> Users { It is easy to replicate this issue by creating a new project and create a simple entity.

  • ABP Framework version: v5.0.0
  • UI type: Blazor Server
  • DB provider: EF Core

When updating an ...Application.Contracts Dto from FullAuditedEntityDto to FullAuditedEntityWithUserDto the Id of the entity is no longer available.

I have reviewed this help topic. https://docs.abp.io/en/abp/latest/Data-Transfer-Objects

Can you please advise how to use the ...WithUserDto I need to display the Created and Modified users names in the UI

  • ABP Framework version: v4.4.2
  • UI type: Blazor Server
  • DB provider: EF Core

I have to instances of the same Blazor Server App running on IIS. They run on different ports. The two instances are PROD and TEST.

I want to set the Lepton Theme for the TEST system to a different colour scheme to PROD. This is to let users know which system them are in. I use the Administration | Settings | Lepton Theme menu to update the settings:

The problem is that the style is not updated in the Application when this change is made, the orginal theme persits.
The change does respect the Menu Placement option (top and left) ok, just not the Style option.

Please advise how to have the theme in each system. I don't want the user to have to clear browser cache each time as this defats the purpose.

Also, there are theme settings in appsettings.json. Is this required? I removed the following while testing this issue and the app continues to work (but still has the same issue) "Settings": { "Volo.Abp.LeptonTheme.Style": "Style6", /* Options: Style1, Style2... Style6 / "Volo.Abp.LeptonTheme.Layout.MenuPlacement": "Top", / Options: Left, Top / "Volo.Abp.LeptonTheme.Layout.MenuStatus": "AlwaysOpened", / Options: AlwaysOpened, OpenOnHover / "Volo.Abp.LeptonTheme.Layout.Boxed": "False" / Options: True, False */ },

  • ABP Framework version: v4.4.0
  • UI type: Blazor Server
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

The create modal crashes when a required field is left empty. The bug is easy to replicate

  1. Use Abp Suite to create a simple entity with a required field/property
  2. Run the Blazor app and click on the "+ New xx" button
  3. Press save without completing any fields
  4. The error will occur.

Note that on update, the UI does provide feedback, but still crashes when pressing the save button.

Please advise the correct approach for solving this issue and can confirm it is a bug to be solved.

Thanks.

Question
  • ABP Framework version: v4.3.3
  • UI type: Blazor Server
  • DB provider: EF Core
  • Docs location: GitHub

I have the ABP doc module included in a Blazor Server app. https://docs.abp.io/en/abp/latest/Modules/Docs

There is a problem with the left side menu with the items overlapping as per screen shot below:

I can also see this issue on this support case: https://support.abp.io/QA/Questions/1520/How-can-I-edit-markdown-document-with-using-ABP-Docs-Module

I manually added "@abp/aspnetcore.mvc.ui.theme.basic": "4.3.0", into the package.json of the blazor project. Not sure if that is needed, but had no effect. { "version": "1.0.0", "name": "my-app", "private": true, "dependencies": { "@abp/aspnetcore.mvc.ui.theme.basic": "4.3.0", "@abp/docs": "4.3.0", "@volo/abp.aspnetcore.components.server.leptontheme": "^4.3.0", "@volo/abp.aspnetcore.mvc.ui.theme.lepton": "^4.3.0", "@volo/account": "^4.3.0", "@volo/cms-kit-pro.admin": "^4.3.0" } }

Please advise how to fix the menu layout.

Project: Blazor Server, EntityFramework, V4.3.0

Please advise how to set the sort order of the items to DisplayName instead of the Guid.
This should be the default behaviour.

private IReadOnlyList<LookupDto<Guid?>> Users { get; set; } = new List<LookupDto<Guid?>>();
UsersNullable = (await XXXXAppService.GetAppUserLookupAsync(new LookupRequestDto { Filter = newValue })).Items;

Thank you.

Version: 4.3.2 Blazor Server with EF. A DataGrid has a single EntityAction in DataGridEntityActionsColumn as per the razor code below. With a single action the button should show as a single button instead of a Button with dropdown, but it continues to show as a drop down.

Please advise how to show a Entity Action as a single button without a drop down.

  <DataGridEntityActionsColumn TItem="ClientWithNavigationPropertiesDto" @ref="@EntityActionsColumn">
                    <DisplayTemplate>
                        <EntityActions TItem="ClientWithNavigationPropertiesDto" EntityActionsColumn="@EntityActionsColumn">
                            <EntityAction TItem="ClientWithNavigationPropertiesDto"
                                          RequiredPolicy="@ABcrmPermissions.Clients.Create"
                                          Clicked="() => NavigateToClientDetailPage(context.Client.Id)"
                                          Text="@L["Details"]"></EntityAction>
                        </EntityActions>
                    </DisplayTemplate>
                </DataGridEntityActionsColumn>

  • ABP Framework version: v4.3.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

When menus are set to top on the Lepton theme there is a lot of wasted space. See image below. Can you provide advice on removing the area marked up on the image.

The screen shot was taken from https://leptontheme.com/Layouts/Application/Dashboard/Dashboard so the issue is not UI Type dependent.

  • ABP Framework version: v4.3.0
  • UI type: Blazor Server
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no Blazor server is running on IIS. The site runs ok and I can log in as admin. But after login there are no menu items showing

Log files gives this information:

Authorization failed. These requirements were not met:PermissionRequirement: SettingManagement.Emailing
Authorization failed. These requirements were not met: PermissionRequirement: AbpAccount.SettingManagement 
Authorization failed. These requirements were not met: PermissionRequirement: AbpIdentity.SettingManagement
Authorization failed. These requirements were not met: PermissionRequirement: LeptonThemeManagement.Settings

More log file transcations

2021-05-04 20:40:14.840 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:14.840 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117614819 text/plain;charset=UTF-8 - - 200 3 application/octet-stream 18.4748ms
2021-05-04 20:40:14.851 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117614846 text/plain;charset=UTF-8 -
2021-05-04 20:40:14.868 +12:00 [INF] Executing endpoint '/_blazor'
2021-05-04 20:40:14.870 +12:00 [INF] Request starting HTTP/2 POST https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA text/plain;charset=UTF-8 598
2021-05-04 20:40:14.881 +12:00 [INF] No CORS policy found for the specified request.
2021-05-04 20:40:14.885 +12:00 [INF] Executing endpoint '/_blazor'
2021-05-04 20:40:14.885 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:14.885 +12:00 [INF] Request finished HTTP/2 POST https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA text/plain;charset=UTF-8 598 - 200 - text/plain 15.4742ms
2021-05-04 20:40:14.887 +12:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: SettingManagement.Emailing
2021-05-04 20:40:14.887 +12:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: AbpAccount.SettingManagement
2021-05-04 20:40:14.887 +12:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: AbpIdentity.SettingManagement
2021-05-04 20:40:14.889 +12:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: LeptonThemeManagement.Settings
2021-05-04 20:40:14.892 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:14.892 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117614846 text/plain;charset=UTF-8 - - 200 29 application/octet-stream 41.4677ms
2021-05-04 20:40:14.903 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117614897 text/plain;charset=UTF-8 -
2021-05-04 20:40:14.920 +12:00 [INF] Executing endpoint '/_blazor'
2021-05-04 20:40:14.920 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:14.920 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117614897 text/plain;charset=UTF-8 - - 200 73 application/octet-stream 17.2856ms
2021-05-04 20:40:14.930 +12:00 [INF] Authorization was successful.
2021-05-04 20:40:14.936 +12:00 [INF] Request starting HTTP/2 POST https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA text/plain;charset=UTF-8 44
2021-05-04 20:40:14.943 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117614929 text/plain;charset=UTF-8 -
2021-05-04 20:40:14.947 +12:00 [INF] No CORS policy found for the specified request.
2021-05-04 20:40:14.950 +12:00 [INF] Executing endpoint '/_blazor'
2021-05-04 20:40:14.950 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:14.951 +12:00 [INF] Request finished HTTP/2 POST https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA text/plain;charset=UTF-8 44 - 200 - text/plain 14.6228ms
2021-05-04 20:40:15.008 +12:00 [INF] Executing endpoint '/_blazor'
2021-05-04 20:40:15.008 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:15.009 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117614929 text/plain;charset=UTF-8 - - 200 14998 application/octet-stream 66.0756ms
2021-05-04 20:40:15.028 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117615026 text/plain;charset=UTF-8 -
2021-05-04 20:40:15.028 +12:00 [INF] Request starting HTTP/2 POST https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA text/plain;charset=UTF-8 52
2021-05-04 20:40:15.048 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44313/_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/fonts/poppins-v6-latin-regular.woff2 - -
2021-05-04 20:40:15.049 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44313/_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/fonts/poppins-v6-latin-600.woff2 - -
2021-05-04 20:40:15.049 +12:00 [INF] The file /_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/fonts/poppins-v6-latin-regular.woff2 was not modified
2021-05-04 20:40:15.049 +12:00 [INF] The file /_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/fonts/poppins-v6-latin-600.woff2 was not modified
2021-05-04 20:40:15.049 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44313/_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/fonts/poppins-v6-latin-600.woff2 - - - 304 - font/woff2 0.4535ms
2021-05-04 20:40:15.049 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44313/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2 - -
2021-05-04 20:40:15.050 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44313/_content/Volo.Abp.AspNetCore.Components.Web.LeptonTheme/assets/fonts/poppins-v6-latin-regular.woff2 - - - 304 - font/woff2 1.3382ms
2021-05-04 20:40:15.050 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44313/images/logo/logo-light.png - -
2021-05-04 20:40:15.050 +12:00 [INF] The file /libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2 was not modified
2021-05-04 20:40:15.050 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44313/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2 - - - 304 - font/woff2 0.7214ms
2021-05-04 20:40:15.053 +12:00 [INF] Sending file. Request path: '/images/logo/logo-light.png'. Physical path: 'C:\inetpub\wwwroot\ABcrm\wwwroot\images\logo\logo-light.png'
2021-05-04 20:40:15.053 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44313/images/logo/logo-light.png - - - 200 1957 image/png 3.5958ms
2021-05-04 20:40:15.061 +12:00 [INF] Executing endpoint '/_blazor'
2021-05-04 20:40:15.092 +12:00 [INF] No CORS policy found for the specified request.
2021-05-04 20:40:15.094 +12:00 [INF] Executing endpoint '/_blazor'
2021-05-04 20:40:15.095 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:15.098 +12:00 [INF] Request finished HTTP/2 POST https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA text/plain;charset=UTF-8 52 - 200 - text/plain 69.3043ms
2021-05-04 20:40:15.099 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:15.099 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117615026 text/plain;charset=UTF-8 - - 200 251 application/octet-stream 71.3870ms
2021-05-04 20:40:15.116 +12:00 [INF] Request starting HTTP/2 POST https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA text/plain;charset=UTF-8 70
2021-05-04 20:40:15.117 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117615113 text/plain;charset=UTF-8 -
2021-05-04 20:40:15.126 +12:00 [INF] No CORS policy found for the specified request.
2021-05-04 20:40:15.129 +12:00 [INF] Executing endpoint '/_blazor'
2021-05-04 20:40:15.129 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:15.129 +12:00 [INF] Request finished HTTP/2 POST https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA text/plain;charset=UTF-8 70 - 200 - text/plain 13.0847ms
2021-05-04 20:40:15.135 +12:00 [INF] Executing endpoint '/_blazor'
2021-05-04 20:40:15.135 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:15.136 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117615113 text/plain;charset=UTF-8 - - 200 617 application/octet-stream 18.3653ms
2021-05-04 20:40:15.146 +12:00 [INF] Request starting HTTP/2 POST https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA text/plain;charset=UTF-8 158
2021-05-04 20:40:15.146 +12:00 [INF] Request starting HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117615143 text/plain;charset=UTF-8 -
2021-05-04 20:40:15.158 +12:00 [INF] No CORS policy found for the specified request.
2021-05-04 20:40:15.160 +12:00 [INF] Executing endpoint '/_blazor'
2021-05-04 20:40:15.161 +12:00 [INF] Executing endpoint '/_blazor'
2021-05-04 20:40:15.161 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:15.162 +12:00 [INF] Request finished HTTP/2 POST https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA text/plain;charset=UTF-8 158 - 200 - text/plain 15.9733ms
2021-05-04 20:40:29.157 +12:00 [INF] Request starting HTTP/2 POST https://localhost:44313/_blazor/disconnect multipart/form-data;+boundary=----WebKitFormBoundaryfLaibCWxWtLQHphv 359
2021-05-04 20:40:29.173 +12:00 [INF] Executed endpoint '/_blazor'
2021-05-04 20:40:29.173 +12:00 [INF] Request finished HTTP/2 GET https://localhost:44313/_blazor?id=vO-F8H2DX7nMZsobIFWOBA&_=1620117615143 text/plain;charset=UTF-8 - - 0 - - 14026.6919ms
2021-05-04 20:40:29.179 +12:00 [INF] No CORS policy found for the specified request.
2021-05-04 20:40:29.198 +12:00 [INF] Executing endpoint 'Blazor disconnect'
2021-05-04 20:40:29.198 +12:00 [INF] Executed endpoint 'Blazor disconnect'
2021-05-04 20:40:29.198 +12:00 [INF] Request finished HTTP/2 POST https://localhost:44313/_blazor/disconnect multipart/form-data;+boundary=----WebKitFormBoundaryfLaibCWxWtLQHphv 359 - 200 - - 41.5425ms
Question
  • ABP Framework version: v4.3.0
  • UI type: Blazor Server
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): No

Hopefully this is a simple question. I need a list of App Users in a role in .razor.cs.

I can get this for the Current User is ok like this: @using Volo.Abp.Users @inject ICurrentUser CurrentUser .... bool isAdmin = CurrentUser.IsInRole("admin");

Can you please provide some sample code has to how to get a List<AppUser>()

Thank you.

Showing 21 to 30 of 33 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30