Skip to content

Comments

Create directory when saving dataset-level files#6757

Merged
kcondon merged 1 commit intodevelopfrom
6739-multistore-file-directory
Mar 23, 2020
Merged

Create directory when saving dataset-level files#6757
kcondon merged 1 commit intodevelopfrom
6739-multistore-file-directory

Conversation

@landreev
Copy link
Contributor

What this PR does / why we need it:
In addition to the issue as described in #6739 - metadata exports failing if the dataset is published without datafiles:
A similar issue was present with dataset logos (dataset-level thumbnails): dataset logos could not be saved unless some datafiles were added to the dataset first. This is fixed in this PR also.
Which issue(s) this PR closes:

Closes #6739

Special notes for your reviewer:

Suggestions on how to test this:

Does this PR introduce a user interface change?:

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

Additional documentation:

…tafile

is saved, but not when saving dataset-level files. (#6739)
@coveralls
Copy link

Coverage Status

Coverage increased (+0.004%) to 19.443% when pulling 8eba2c1 on 6739-multistore-file-directory into 04aee63 on develop.

@sekmiller sekmiller self-assigned this Mar 23, 2020
Copy link
Contributor

@sekmiller sekmiller left a comment

Choose a reason for hiding this comment

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

Looks good. Just one petty nit: it looks like there are two added lines at around 231 and 298 that are just spaces.

@djbrooke djbrooke added this to the 4.20 milestone Mar 23, 2020
@kcondon kcondon self-assigned this Mar 23, 2020
@kcondon kcondon merged commit 2b8c4ee into develop Mar 23, 2020
@kcondon kcondon deleted the 6739-multistore-file-directory branch March 23, 2020 23:56
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.

Multistore: If no files are uploaded to published dataset, export fails.

5 participants