Skip to content

CSV Export fails for empty relations #2796

@tmesquita

Description

@tmesquita

When trying to export a model that doesn't contain any records it errors out with undefined method 'collect' for nil:NilClass instead of generating a blank csv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions