Skip to content

[IgbGrid] state-persistence - Reload causes ExpectedStartOfValueNotFound #135

@mddifilippo89

Description

@mddifilippo89

In Blazor WASM the error is explicit (See screenshot below)
In Blazor Server the issue will lead to a different console error but the app will throw a similar error:

JsonReaderException: 'e' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.

WASM

  1. Navigate to this sample
    https://www.infragistics.com/blazor-client/grids/grid/state-persistence-main
    https://github.com/IgniteUI/igniteui-blazor-examples/tree/vnext/samples/grids/grid/state-persistence-main
  2. Run and click the Reset button

Server:

  1. Download attached Server sample
    IgniteIgbGridSample2 (2).zip

  2. Run sample, click Fetch Data in the nav tree

  3. Move a column to a different position

  4. Navigate away from the sample by clicking Counter or Home

  5. Click back to Fetch Data

  6. Click Restore Grid State

Here is a comparison of the two WASM / Server side by side (WASM left, Server Right) including the server's stacktrace
image

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions