LocalStorage icon indicating copy to clipboard operation
LocalStorage copied to clipboard

[Question]After updating to v4.2.0 I get a JSException in SetItemAsString

Open Martin521 opened this issue 3 years ago • 1 comments

Since I updated to 4.2.0, I get Microsoft.JSInterop.JSException: Invalid JS call result type '3' in a call to SetItemAsString (with a valid string).

When I roll back to 4.1.5, the problem is gone.

So, before I try to create a minimal example and file a bug report, I wanted to ask if there is anything obvious that was changed in 4.2.0 that could cause the exception.

Martin521 avatar Feb 21 '22 09:02 Martin521

I found a workaround here. Seems to be a Blazor or SDK issue. Nevertheless, it appears for me only for 4.2.0, not for 4.1.5.

Martin521 avatar Feb 21 '22 10:02 Martin521

I'm going to close this as it appears to be an isolated problem. I can't seem to repro it either.

chrissainty avatar Aug 27 '22 21:08 chrissainty