Skip to content

Conversation

@XingY
Copy link
Contributor

@XingY XingY commented Aug 12, 2025

Rationale

_unescapeBackslashes in TabLoader in app is now default to false. This PR updates the default in the TabLoader class used by test to match that the change in app.

Related Pull Requests

Changes

  • include backslash in charset used to generate field names and string values
  • get rid of writeRowsToTsvEscapeBackslash and tsvStringFromRowMapsEscapeBackslash util as backslash should no longer be quoted


private static final String DEFAULT_SAMPLE_PARENT_VALUE = "SS" +
EscapeUtil.escapeForNameExpression(TestDataGenerator.randomString(3));
EscapeUtil.escapeForNameExpression(TestDataGenerator.randomString(3, "_)(}{")); // '_' is used as delimiter to get batchRandomId and (){} is used to close the defaultValue()
Copy link
Contributor

Choose a reason for hiding this comment

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

I just merged my change for this.
I don't really care which one is used, they are both the same.

# Conflicts:
#	src/org/labkey/test/tests/SampleTypeNameExpressionTest.java
@XingY XingY merged commit 37c4f0d into develop Aug 15, 2025
5 of 6 checks passed
@XingY XingY deleted the fb_backslashEscape branch August 15, 2025 23:26
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