Skip to content
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

Return nil instead of an empty string from normalized_date #1513

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

corylown
Copy link
Contributor

@corylown corylown commented Mar 12, 2024

ArcLight 1.1 is indexing empty strings in normalized_date_ssm if the normalization process results in no normalized values for any of the various date types. The downstream effect is the UI displays labels without values where the normalized_date_ssm field is configured to display.

Changes to date normalization changed this behavior (and the test) here: 3eb358b

Before this change:
Screenshot 2024-03-12 at 2 59 54 PM

After this change:
Screenshot 2024-03-12 at 3 00 25 PM

@corylown corylown force-pushed the fix-nil-date-normalize branch 4 times, most recently from e3fca07 to cc6b528 Compare March 12, 2024 19:53
@corylown corylown changed the title Remove empty strings from normalized dates so we don't index them Return nil instead of an empty string from normalized_date Mar 12, 2024
@corylown corylown marked this pull request as ready for review March 12, 2024 20:38
@seanaery seanaery merged commit d2aee08 into main Mar 13, 2024
4 checks passed
@seanaery seanaery deleted the fix-nil-date-normalize branch March 13, 2024 12:39
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