-
Notifications
You must be signed in to change notification settings - Fork 9
Avoid known issues with random name generation #2674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid known issues with random name generation #2674
Conversation
…fb_fixRandomFieldProblems
|
FYI, I just opened a PR to develop (due to an |
| if (fieldName != null && fieldName.length() > 64 && fieldName.toLowerCase().contains("key")) // Not guaranteed but likely a list key | ||
| return true; // Issue 53706: List key field name length is limited to 64 characters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As @labkey-jeckels mentioned, this issue will be fixed in develop very soon, so this code can be removed there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is like picking your poison. This will keep the noise down in 25.9 but we will have to remember to remove this code when merging from 25.9 into develop.
Hopefully having the issue listed here will be a clue when merging into develop to not take this line.
| if (fieldName != null && fieldName.length() > 64 && fieldName.toLowerCase().contains("key")) // Not guaranteed but likely a list key | ||
| return true; // Issue 53706: List key field name length is limited to 64 characters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is like picking your poison. This will keep the noise down in 25.9 but we will have to remember to remove this code when merging from 25.9 into develop.
Hopefully having the issue listed here will be a clue when merging into develop to not take this line.
Rationale
There are some known issues with random field and domain name generation.
Issue 53706: List key field name length is limited to 64 characters. We should avoid long list key names until this issue is resolved. Limiting the length of names containing "key" should be sufficient to prevent test failures due to this issue.
Numerous SM Starter and SM Trial tests fail because they can't validate names using the
validateDomainAndFieldNamesAPI; either because the initial user hasn't been created or there isn't a browser session available to piggy-back. I've reimplemented the test-side name validation that we did before that API was created. We can revisit this this later but I'd like to get those tests passing; making the API work reliably would be a much more involved update. (The existing API validation can be enabled via the newwebtest.remote.domain.validationtest property)Related Pull Requests
Changes