Skip to content

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

Merged
cnathe merged 3 commits into
developfrom
fb_saveViewGH1219
Jul 6, 2026
Merged

GitHub Issue 1219: Summary statistics fail with "Character read limit of 100000 exceeded" on wide datasets#7800
cnathe merged 3 commits 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

Comment thread api/webapp/clientapi/dom/DataRegion.js Outdated
@cnathe cnathe merged commit 4d8773d into develop Jul 6, 2026
8 of 9 checks passed
@cnathe cnathe deleted the fb_saveViewGH1219 branch July 6, 2026 15:12
cnathe added a commit to LabKey/testAutomation that referenced this pull request Jul 6, 2026
… of 100000 exceeded" on wide datasets (#3081)

#### Rationale
LabKey/internal-issues#1219

See related PR for rationale. This PR adds the test case.

#### Related Pull Requests
- LabKey/platform#7800

#### Changes
- CustomizeViewTest test case for saveQueryView with wide column list in
view
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