Skip to content

[bot] Fast-forward for 26.3.15#7802

Merged
github-actions[bot] merged 3 commits into
release26.3from
26.3_ff_bot_26.3.15
Jun 30, 2026
Merged

[bot] Fast-forward for 26.3.15#7802
github-actions[bot] merged 3 commits into
release26.3from
26.3_ff_bot_26.3.15

Conversation

@github-actions

Copy link
Copy Markdown

Generated automatically.
Approve all matching PRs simultaneously.
Approval will trigger automatic merge.
View all PRs: https://internal.labkey.com/Scrumtime/Backlog/harvest-gitOpenPullRequests.view?branch=26.3_ff_bot_26.3.15

labkey-adam and others added 3 commits June 22, 2026 10:51
…7796)

## Rationale

Newer browsers (Chrome, Firefox 140+) ship a native `RegExp.escape` that
throws a `TypeError` on non-String input.
`Ext.ux.form.LovCombo.setValue()` passed `JSON.stringify(value)` to
`RegExp.escape` to avoid that crash, but `JSON.stringify()` quotes
string values, so they no longer matched the raw, unquoted output of
`getCheckedValue()` and every selection in a string-valued combo (e.g.
the WNPRC EHR Time of Day multi-select) was silently dropped. Using
`String()` yields a valid String for `RegExp.escape` without quoting
string values, fixing both the numeric-`valueField` crash and the
string-`valueField` regression. See
LabKey/internal-issues#1266.

## Related Pull Requests

- LabKey/wnprc-modules#982
- LabKey/premiumModules#638

## Changes

- `core/webapp/Ext.ux.form.LovCombo.js`: in `setValue()`, pass
`String(...)` rather than `JSON.stringify(...)` to `RegExp.escape`.
@github-actions github-actions Bot merged commit c0ef8ce into release26.3 Jun 30, 2026
21 of 23 checks passed
@github-actions github-actions Bot deleted the 26.3_ff_bot_26.3.15 branch June 30, 2026 16:24
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.

4 participants