Skip to content

Correction in doc: dataverse.files.default-dataset-file-count-limit - #12687

Open
janvanmansum wants to merge 2 commits into
IQSS:developfrom
janvanmansum:doc-error
Open

janvanmansum wants to merge 2 commits into
IQSS:developfrom
janvanmansum:doc-error

Conversation

@janvanmansum

@janvanmansum janvanmansum commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
Corrects an error in the docs

Which issue(s) this PR closes:
None

Special notes for your reviewer:
None

Suggestions on how to test this:
None

Does this PR introduce a user interface change? If mockups are available, please link/include them here:
None

Is there a release notes update needed for this change?:
None

Additional documentation:
See: https://github.com/IQSS/dataverse/blob/develop/src/main/java/edu/harvard/iq/dataverse/DvObjectContainer.java#L281

dataverse.files.default-dataset-file-count-limit of 0 is considered set, since 0 >= 0

@janvanmansum
janvanmansum marked this pull request as ready for review September 10, 2026 13:52
@pdurbin pdurbin moved this to Ready for Triage in IQSS Dataverse Project Sep 10, 2026
@pdurbin

pdurbin commented Sep 10, 2026

Copy link
Copy Markdown
Member

See: https://github.com/IQSS/dataverse/blob/develop/src/main/java/edu/harvard/iq/dataverse/DvObjectContainer.java#L281

dataverse.files.default-dataset-file-count-limit of 0 is considered set, since 0 >= 0

Yes, makes sense. @stevenwinship can you please take a look? You added this setting in the following PR:

@pdurbin pdurbin changed the title Correction in doc Correction in doc: dataverse.files.default-dataset-file-count-limit Sep 15, 2026
@pdurbin pdurbin moved this from Ready for Triage to In Review 🔎 in IQSS Dataverse Project Sep 15, 2026
@pdurbin

pdurbin commented Sep 15, 2026

Copy link
Copy Markdown
Member

Discussed at Triage Tuesday. Another option is to change the code.

@pdurbin pdurbin added the Size: 3 A percentage of a sprint. 2.1 hours. label Sep 15, 2026
@stevenwinship

Copy link
Copy Markdown
Contributor

@pdurbin The code is correct. A value of '0' is considered set so that no file may be uploaded. <0 is no limit.
Approving this PR

@github-project-automation github-project-automation Bot moved this from In Review 🔎 to Ready for QA ⏩ in IQSS Dataverse Project Sep 15, 2026
@stevenwinship stevenwinship removed their assignment Sep 15, 2026
@pdurbin pdurbin moved this from Ready for QA ⏩ to In Review 🔎 in IQSS Dataverse Project Sep 15, 2026

@pdurbin pdurbin Sep 15, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@janvanmansum can you please review this release note snippet and let me know if it looks ok?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Size: 3 A percentage of a sprint. 2.1 hours.

Projects

Status: In Review 🔎

Development

Successfully merging this pull request may close these issues.

3 participants