Skip to content

Conversation

@MLewiDev
Copy link

@MLewiDev MLewiDev commented Jul 4, 2023

When trying to do a csv export of an object with null fk like:

"order.trailer.id"

It was crashing when trailer was a null object as it tried to fetch id data from null object. This has been fixed. Test is added and changelog updated.

# Assume that we have a mapping now
fk_ids = data[head_key]

# If foreign key is null don't try to fetch the data and stop
Copy link
Contributor

Choose a reason for hiding this comment

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

@macmac4 macmac4 force-pushed the bugfix-csv-export-empty-fk branch from 7fa8571 to 633d770 Compare September 12, 2025 10:17
@macmac4 macmac4 force-pushed the field-filter-chain-qualifiers branch from 65b5fd7 to 66e7153 Compare September 12, 2025 10:23
@macmac4 macmac4 force-pushed the bugfix-csv-export-empty-fk branch from 633d770 to e3335e1 Compare September 12, 2025 10:27
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.

3 participants