Activities of "EngincanV"

Thanks. I'll try to reproduce it and write you back asap.

Thanks, I'll wait for your email.

abp v5.2.0 should : yarn install v1.22.18?

v1.22.18 is your yarn version.

Is it because of the following reasons.

❯ abp suite 
[09:01:34 INF] ABP CLI (https://abp.io) 
[09:01:34 INF] Version 5.2.0 (Stable) 
Starting Suite v5.2.0 ... 
Opening http://localhost:3000 
Press Ctrl+C to shut down. 
yarn install v1.22.17 
[1/4] Resolving packages... 
[2/4] Fetching packages... 
[3/4] Linking dependencies... 
warning "@volo/abp.aspnetcore.mvc.ui.theme.lepton > @volo/abp.aspnetcore.mvc.ui.theme.commercial > @abp/aspnetcore.mvc.ui.theme.shared > @abp/bootstrap > bootstrap@5.1.3" has unmet peer dependency "@popperjs/core@^2.10.2". 
warning "@volo/abp.aspnetcore.mvc.ui.theme.lepton > @volo/abp.aspnetcore.mvc.ui.theme.commercial > @abp/aspnetcore.mvc.ui.theme.shared > @abp/jquery-validation-unobtrusive > @abp/jquery-validation > jquery-validation@1.19.3" has unmet peer dependency "jquery@^1.7 || ^2.0 || ^3.1". 
[4/4] Building fresh packages... 
 
success Saved lockfile. 
Done in 4.81s. 
yarn install v1.22.17``` 

Hi, I don't see any problem in here (they are just warning messages) and also I could not reproduce your problem. So, if it's possible can you share your project with me via email (engin.veske@volosoft.com)?

Hi @safi, sorry for the late response. Currently, there is a problem to check menu items according to role names (because of the ordering problem, the menu is drawn once and not updated according to auth changes properly). We aim to fix it in the next version. There is an open Github issue about it.

Btw, your credit is refunded.

In meantime, maybe you can consider using a permission check instead of a role name check, by using the RequirePermission("PermissionName") extension method.

Example:

context.Menu.AddItem(
    new ApplicationMenuItem("MyProject.Crm", l["Menu:CRM"])
        .AddItem(new ApplicationMenuItem(
                name: "MyProject.Crm.Customers",
                displayName: l["Menu:Customers"],
                url: "/crm/customers")
            .RequirePermissions("MyProject.Crm.Customers") //require permission
        );
);

Hi, I've created an app-pro template with blazor-wasm as UI and I didn't encounter any errors. Can you provide more information? For example, did you upgrade your application to v5.2.0? etc.

Hi @mahuwei, thanks for reporting. I'll try and write you back asap.

Hi, this was a known problem and it's fixed in v5.2.0-rc.2. You can either upgrade your solution or follow the below steps to fix this problem:

  • Add the following packages to your *.Web.Host.csproj file:
<PackageReference Include="Volo.Abp.SettingManagement.HttpApi.Client" Version="5.1.1" />

<PackageReference Include="Volo.Abp.SettingManagement.Web" Version="5.1.1"/>
  • Add the related depends on statements:
[DependsOn(
    //other modules...
    typeof(AbpSettingManagementWebModule), //add this line
    typeof(AbpSettingManagementHttpApiClientModule) //add this line
    )]
public class MyProjectNameWebHostModule : AbpModule
{
    //...
}

I suggest you upgrade your application to the latest stable version which was released today (5.2.0). This problem and other small problems are fixed in the latest version.

Answer

Hi, this problem is related to VS2021, please see this comment to fix the problem also please revert the change that I've suggested above.

Hi, can you provide the below information?

  • ABP Framework version: vX.X.X
  • UI type: Angular / MVC / Blazor

Hi @meiyuan@surer.ng, please see #1203.

Showing 521 to 530 of 730 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11