"cellero" की गतिविधियाँ

  • 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.

सवाल
  • 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
सवाल
  • 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.

सवाल
  • ABP Framework version: v4.3.X
  • UI type / Blazor Web Assembly
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): / no

Can you please provide a link to deployment of Blazor Web Assembly application. Deployment to IIS. Specifically the two deployments required. One for the API and one for the Blazor App.

Is it possible to deploy a combined instance? I.e. no need for API seperation.

Many thanks, Roger

  • ABP Framework version: v4.1.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace: Error CS0103 The name 'xxxxxx' does not exist in the current context .....Web\Pages\OrderLines\CreateModal.cshtml.cs 35
  • Steps to reproduce the issue

When creating OrderLine entity that has a Navaigation to Order the build fails. The error occurs in CreateModal.cshtml.cs with lookup to the Order. The problem is "xxxxxx" in the OrderLookup. The xxxxxx text is automatically generated by CRUD abp suite. See below:

    public async Task OnGetAsync()
    {
        OrderLine = new OrderLineCreateDto();
        OrderLookupList.AddRange((
                                await _orderLineAppService.GetOrderLookupAsync(new LookupRequestDto
                                { xxxxxx
                        MaxResultCount = LimitedResultRequestDto.MaxMaxResultCount
                                })).Items.Select(t => new SelectListItem(t.DisplayName, t.Id.ToString())).ToList()
                    );
        await Task.CompletedTask;

Severity Code Description Project File Line Suppression State Error CS0103 The name 'xxxxxx' does not exist in the current context .....Web\Pages\OrderLines\CreateModal.cshtml.cs 35 Active

This occurs on a new project built entirely on Version 4.1.

The downloads on this page are not woring: https://docs.abp.io/en/commercial/latest/samples/index

Also, the Easy CRM demo is not working. A 500 internal error is given. I experienced the same problem yesterday as well.

30 प्रविष्टियों में 21 से 30 दिखा रहा है
Made with ❤️ on ABP v8.2.0-preview Updated on मार्च 25, 2024, 15:11