Skip to content

Publishing: Published dataset version should contain files #12258

@stevenwinship

Description

@stevenwinship

What steps does it take to reproduce the issue? Per #10981 a dataset should not be publishable if it contains no files. This issue should check the number of files in the Dataset version and not the total number of files in the dataset.
This is only an issue when the attribute 'requireFilesToPublishDataset' is set

  • When does this issue occur? When a dataset has a file but the new version has removed the file (leaving 0 files)

Definition of Done:

    1. The dataset version should not be publishable without at least 1 file.
    1. The user should not be able to submit the dataset for review without files.

**Any related open or closed issues to this bug report?**#10981

Metadata

Metadata

Assignees

No one assigned

    Labels

    FY26 Sprint 20FY26 Sprint 20 (2026-03-26 - 2026-04-08)Size: 10A percentage of a sprint. 7 hours.Type: Buga defect

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions