You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using the Oqtane Theme changing the theme on a page (edit page or add page component forms) to Blazor Theme generates a Visual Studio error as shown below in the event log and screenshots.
[x] Tested - Issue Does Not Exist Using Blazor Theme for Site Settings
Event Log Error
An Unexpected Error Has Occurred In Oqtane.Modules.Admin.Pages, Oqtane.Client: The component type must implement Microsoft.AspNetCore.Components.IComponent.
System.ArgumentException: The component type must implement Microsoft.AspNetCore.Components.IComponent.
at Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.OpenComponent(Int32 sequence, Type componentType)
at Oqtane.Modules.Admin.Pages.Add.<ThemeSettings>b__42_1(RenderTreeBuilder builder) in C:\Dev\Oqtane\Dev\5.1.0\021824\Oqtane.Client\Modules\Admin\Pages\Add.razor:line 348
at Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddContent(Int32 sequence, RenderFragment fragment)
at Oqtane.Modules.Admin.Pages.Add.<BuildRenderTree>b__0_4(RenderTreeBuilder __builder3) in C:\Dev\Oqtane\Dev\5.1.0\021824\Oqtane.Client\Modules\Admin\Pages\Add.razor:line 204
at Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddContent(Int32 sequence, RenderFragment fragment)
at Oqtane.Modules.Controls.TabPanel.BuildRenderTree(RenderTreeBuilder __builder) in C:\Dev\Oqtane\Dev\5.1.0\021824\Oqtane.Client\Modules\Controls\TabPanel.razor:line 13
at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
{"ModuleDefinitionName":"Oqtane.Modules.Admin.Pages, Oqtane.Client","Error":"The component type must implement Microsoft.AspNetCore.Components.IComponent."}
Screenshots
Two issues reported tonight are areas I have not visited previously and are both places recently explored to discover these behaviors that can be easily reproduced.
The text was updated successfully, but these errors were encountered:
thabaum
changed the title
Bug: Page Management - Add Page - Switch Theme to Blazor Exception Thrown.
Bug: Page Management - Add Page - Switch Theme to Blazor Exception Thrown. (5.1.0)
Feb 19, 2024
thabaum
changed the title
Bug: Page Management - Add Page - Switch Theme to Blazor Exception Thrown. (5.1.0)
Bug: Page Management - Add/Edit Page - Switch Theme to Blazor Exception Thrown. (5.1.0)
Feb 19, 2024
Issue
Description
While using the Oqtane Theme changing the theme on a page (edit page or add page component forms) to Blazor Theme generates a Visual Studio error as shown below in the event log and screenshots.
[x] Tested - Issue Does Not Exist Using Blazor Theme for Site Settings
Event Log Error
Screenshots
Two issues reported tonight are areas I have not visited previously and are both places recently explored to discover these behaviors that can be easily reproduced.
The text was updated successfully, but these errors were encountered: