Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iqss/7335 change name when replacement name conflicts with other files #7336

Conversation

qqmyers
Copy link
Member

@qqmyers qqmyers commented Oct 16, 2020

What this PR does / why we need it: Prevents duplicate names if a replacement file has the same name as some other file (on it isn't replacing) in the dataset

Which issue(s) this PR closes:

Closes #7335

Special notes for your reviewer:

Suggestions on how to test this: There's a new test and it passes! The new part is if you replace file1 and give it the name of file2, you'll see the normal "_1" appended. If you replace file1 and use the same name as file 1, the name won't change.

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

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

Additional documentation:

@coveralls
Copy link

coveralls commented Oct 16, 2020

Coverage Status

Coverage decreased (-0.001%) to 19.478% when pulling 9331d0f on QualitativeDataRepository:IQSS/7335-Change_name_when_replacement_name_conflicts_with_other_files into fe9e24d on IQSS:develop.

@djbrooke djbrooke self-assigned this Oct 19, 2020
@djbrooke djbrooke removed their assignment Oct 20, 2020
@sekmiller sekmiller self-assigned this Oct 20, 2020
@sekmiller
Copy link
Contributor

This branch needs to be updated with the latest from dev before it can go to QA, but that is all it needs

…e_when_replacement_name_conflicts_with_other_files
@djbrooke
Copy link
Contributor

@qqmyers assigning to you to update from dev

@kcondon kcondon self-assigned this Nov 16, 2020
@kcondon kcondon merged commit 9e069d6 into IQSS:develop Nov 16, 2020
@djbrooke djbrooke added this to the 5.3 milestone Nov 17, 2020
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.

Check for duplicate names when replacing a file and choosing the name of another
5 participants