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

Fix share sample duplicate names #1343

Merged

Conversation

deepsidhu85
Copy link
Contributor

@deepsidhu85 deepsidhu85 commented Jul 20, 2022

Description of changes

What did you change in this pull request? Provide a description of files changed, user interactions changed, etc. Include how to test your changes.

Fixed 403 error being displayed when attempting to share samples when the target project had samples with the same names. Updated to list the samples which will not be shared due to either the identifiers or the names being the same in the source and target project.

shareduplicates

Related issue

Link to the GitHub issue this pull request addresses using the #issuenum format. If it completes an issue, use Fixes #issuenum to automatically close the issue.

Checklist

Things for the developer to confirm they've done before the PR should be accepted:

  • CHANGELOG.md (and UPGRADING.md if necessary) updated with information for new change.
  • Tests added (or description of how to test) for any new features.
  • User documentation updated for UI or technical changes.

…arget project which have the same name in the source and destination project. This fixes an error message in the console where the sample isn't actually shared but the UI shows a successfully shared message
…he target project as either the name or the identifiers are the same. Added translations. Disabled next button on sample review page if the shareable samples are removed
@deepsidhu85 deepsidhu85 added the UI User Interface Issue label Jul 20, 2022
@deepsidhu85 deepsidhu85 requested a review from ericenns July 21, 2022 01:04
Copy link
Member

@ericenns ericenns left a comment

Choose a reason for hiding this comment

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

Just a few translation changes, otherwise this looks good.

src/main/resources/i18n/messages.properties Outdated Show resolved Hide resolved
src/main/resources/i18n/messages.properties Outdated Show resolved Hide resolved
Copy link
Member

@ericenns ericenns left a comment

Choose a reason for hiding this comment

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

👍 This looks good to me, thanks for fixing this!

@ericenns ericenns merged commit 3721673 into phac-nml:development Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI User Interface Issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants