Skip to content

Exclude close parens from name expression default value#2436

Merged
labkey-susanh merged 2 commits intodevelopfrom
fb_nameExprTestFix
May 2, 2025
Merged

Exclude close parens from name expression default value#2436
labkey-susanh merged 2 commits intodevelopfrom
fb_nameExprTestFix

Conversation

@labkey-susanh
Copy link
Copy Markdown
Contributor

Rationale

Close parens are problematic for default values since they are seen as closing the defaultValue() expression. When entered through the UI, we correctly show an error message. This PR excludes the close paren from the valid characters for the testing of the default value.

Changes

  • Update SampleTypeNameExpressionTest to remove close parens

@labkey-susanh labkey-susanh requested a review from XingY May 2, 2025 17:42
@labkey-susanh labkey-susanh merged commit e8cb42e into develop May 2, 2025
3 of 4 checks passed
@labkey-susanh labkey-susanh deleted the fb_nameExprTestFix branch May 2, 2025 17:57
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