ardalis / ardalis/modulith

Homepage Initial Load is fine, but if user refresh page, user will get ManagedError: One or more errors occurred. (Parameter count mismatch.)

Open
#75 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
184
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Using InteractiveAuto rendermode on App.razor, it always has below error when user refresh page,
ManagedError: One or more errors occurred. (Parameter count mismatch.)
at Jn (marshal-to-js.ts:349:18)
at $l (marshal-to-js.ts:306:28)
at 00b2380a:0x1fa68
at 00b2380a:0x1bf2f
at 00b2380a:0xf017
at 00b2380a:0x1e782
at 00b2380a:0x1ef78
at 00b2380a:0xce61
at 00b2380a:0x44399
at e. (cwraps.ts:338:24)

.But if change rendermode to InteractiveServer on App.razor, everything is fine, no more errors on browser.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in App.razor, reproduce the refresh failure with InteractiveAuto, and compare it with InteractiveServer as the issue describes. Trace the parameter-count mismatch during the initial browser load and verify that refreshing the homepage with InteractiveAuto completes without the ManagedError.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.