Skip to content

GitHub Issue 1219: Summary statistics fail with "Character read limit of 100000 exceeded" on wide datasets#7800

Open
cnathe wants to merge 1 commit into
developfrom
fb_saveViewGH1219
Open

GitHub Issue 1219: Summary statistics fail with "Character read limit of 100000 exceeded" on wide datasets#7800
cnathe wants to merge 1 commit into
developfrom
fb_saveViewGH1219

Conversation

@cnathe

@cnathe cnathe commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Rationale

https://github.com/LabKey/internal-issues/issues/1219

On wide grids (many columns), setting a summary statistic posts the full custom-view JSON to the saveQueryViews action, which is capped at @JsonInputLimit(100_000) characters. The per-column field metadata array (fields) plus full column objects blow past that limit and the save fails ("Character read limit of 100000 exceeded"). The fix trims the POST body in _updateSessionCustomView: drop the unused top-level fields array and reduce each column to just fieldKey (+ title when present).

Related Pull Requests

Changes

  • DataRegion call to saveQueryViews does not need to include view 'fields' info in post

});

// GitHub Issue 1219: the view 'fields' column-metadata is never used on save so can be removed from payload
// and only fieldKey/title are read per column trim down that as well

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find this comment hard to parse. Seems like there's some punctuation wanted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants