Open Closed

Issue with Modal Dialogs in MAUI Blazor After Upgrade from ABP v7.4 to v8.2 #7734


User avatar
0
l.kuiper@idas.nl created

ABP Framework version: v8.2 UI Type: Blazor (MAUI) Database System: EF Core (SQL Server) Tiered (for MVC) or Auth Server Separated (for Angular): No

Exception message and full stack trace: There is no specific exception message, but modals fail to render after the upgrade.

Steps to reproduce the issue: Upgrade a MAUI Blazor project from ABP v7.4 to v8.2. (not sure if done correctly) Run the application. Attempt to open a modal dialog (e.g., through a button click or any other trigger). -> await Message.Warn("xx", "x");

Issue Description: After upgrading my MAUI Blazor Hybrid project from ABP Framework version 7.4 to 8.2, I am encountering an issue where modal dialogs no longer display correctly. Specifically, when attempting to open a modal, only the backshade appears, but the modal content itself is not rendered. I've reviewed the upgrade documentation but haven’t been able to pinpoint what might be causing this issue or which package versions I should be using to resolve it. Any guidance on this matter would be greatly appreciated.

Thank you for your assistance!

<ItemGroup>
	<PackageReference Include="Blazorise.Bootstrap5" Version="1.5.2" />
	<PackageReference Include="Blazorise.Icons.FontAwesome" Version="1.5.2" />
	<PackageReference Include="Blazorise.Components" Version="1.5.2" />
	<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="8.0.7" />
	<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
</ItemGroup>

<ItemGroup>
	<PackageReference Include="Volo.Abp.AspNetCore.Components.MauiBlazor.LeptonXTheme" Version="3.0.2" />
</ItemGroup>

<ItemGroup>
	<PackageReference Include="Volo.Abp.Autofac" Version="8.2.0" />
	<PackageReference Include="Volo.Abp.AspNetCore.Components.MauiBlazor" Version="8.2.0" />
	<PackageReference Include="Volo.Abp.BlazoriseUI" Version="8.2.0" />
	<PackageReference Include="Volo.Abp.SettingManagement.Blazor" Version="8.2.0" />
	<PackageReference Include="Volo.Abp.Identity.Pro.Blazor" Version="8.2.0" />
	<PackageReference Include="Volo.Saas.Host.Blazor" Version="8.2.0" />
	<PackageReference Include="Volo.Abp.Account.Pro.Admin.Blazor" Version="8.2.0" />
	<PackageReference Include="Volo.Abp.Account.Pro.Public.MauiBlazor" Version="8.2.0" />
	<PackageReference Include="Volo.Abp.TextTemplateManagement.Blazor" Version="8.2.0" />
	<PackageReference Include="Volo.Abp.AuditLogging.Blazor" Version="8.2.0" />
	<PackageReference Include="Volo.Abp.LanguageManagement.Blazor" Version="8.2.0" />
	<PackageReference Include="Volo.Abp.OpenIddict.Pro.Blazor" Version="8.2.0" />
	<PackageReference Include="Volo.Abp.Gdpr.Blazor" Version="8.2.0" />
</ItemGroup>

<ItemGroup>
  <PackageReference Update="Microsoft.AspNetCore.Components.WebView.Maui" Version="8.0.72" />
</ItemGroup>

<ItemGroup>
  <PackageReference Update="Microsoft.Maui.Controls" Version="8.0.72" />
</ItemGroup>

<ItemGroup>
  <PackageReference Update="Microsoft.Maui.Controls.Compatibility" Version="8.0.72" />
</ItemGroup>

2 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    you can try update bundle files.

    abp bundle -t maui-blazor

  • User Avatar
    0
    l.kuiper@idas.nl created

    Issue has been resolved, thanks.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38