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

ACAS-760: Warn users if Number values which contain numerics will be saved as Text #1154

Merged
merged 2 commits into from
Apr 29, 2024

Conversation

brianbolt
Copy link
Contributor

@brianbolt brianbolt commented Apr 18, 2024

Description

  • Produces warning if any values uploaded as a Number contain [0-9] but will be saved as Text.

Related Issue

ACAS-760

How Has This Been Tested?

Added acasclient test mcneilco/acasclient#162

Copy link
Contributor

@hhan-schrodinger hhan-schrodinger left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Collaborator

@bffrost bffrost left a comment

Choose a reason for hiding this comment

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

Left some minor nits on the wording of the warning but otherwise LGTM. I took a look at a production server and looked for stringValues in Number columns and didn't find a wide variety, so I think the simple [0-9] grep will work.

modules/GenericDataParser/src/server/generic_data_parser.R Outdated Show resolved Hide resolved
@brianbolt brianbolt merged commit ac80812 into release/2024.2.x Apr 29, 2024
2 checks passed
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