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

Throw an error when attempting to bulkImport a relationship field into an internal table. #14925

Merged
merged 3 commits into from
Oct 31, 2024

Conversation

samwho
Copy link
Collaborator

@samwho samwho commented Oct 30, 2024

Description

This cost myself and @mike12345567 an hour or so today. If you bulk import a relationship field into an internal table it does entirely the wrong thing. It should just be an error for now, to avoid confusion in future.

This shouldn't be reachable behaviour in the UI, because the CSV that gets important is first sent to a validation endpoint that strips out relationship fields. This is mostly to help idiots like me write tests without wasting time.

@samwho samwho requested a review from a team as a code owner October 30, 2024 17:51
@samwho samwho requested review from mike12345567 and removed request for a team October 30, 2024 17:51
Copy link

qa-wolf bot commented Oct 30, 2024

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

@github-actions github-actions bot added firestorm Data/Infra/Revenue Team size/s labels Oct 30, 2024
Copy link
Collaborator

@mike12345567 mike12345567 left a comment

Choose a reason for hiding this comment

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

LGTM - thanks for getting this together!

@samwho samwho enabled auto-merge October 31, 2024 15:14
@samwho samwho merged commit 1f2301c into v3-ui Oct 31, 2024
11 of 12 checks passed
@samwho samwho deleted the error-on-bulkimporting-relationship-fields branch October 31, 2024 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
firestorm Data/Infra/Revenue Team size/s
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants