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

RDMP-218 Use Historical Cohort Version #1901

Merged
merged 6 commits into from
Jul 25, 2024

Conversation

JFriel
Copy link
Collaborator

@JFriel JFriel commented Jul 24, 2024

Proposed Change

Add ability to use cohort version as new root cohort.
Replaced cohort config with clone of historical version

Type of change

What types of changes does your code introduce? Tick all that apply.

  • Bugfix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Breaking Change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation-Only Update
  • Other (if none of the other choices apply)

Checklist

By opening this PR, I confirm that I have:

  • Ensured that the PR branch is in sync with the target branch (i.e. it is automatically merge-able)
  • Created or updated any tests if relevant
  • Have validated this change against the Test Plan
  • Requested a review by one of the repository maintainers
  • Have written new documentation or updated existing documentation to detail any new or updated functionality and how to use it
  • Have added an entry into the changelog

@JFriel JFriel requested a review from a team July 25, 2024 06:31
@JFriel JFriel marked this pull request as ready for review July 25, 2024 06:31
@@ -117,6 +117,16 @@ private void VersionChange(object sender, EventArgs e)

private void CommitNewVersion(object sender, EventArgs e)
{
if (_cic.Version != null && _activator.YesNo("Are you sure you want to revert the cohort to this version?", "Revert Cohort to this Version"))
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

make the no do nothing

if (_cic.Version != null)
{
if (_activator.YesNo("Are you sure you want to revert the cohort to this version?", "Revert Cohort to this Version"))
{

Check warning

Code scanning / CodeQL

Missing Dispose call on local IDisposable Warning

Disposable 'ToolTip' is created but not disposed.
@rdteviotdale rdteviotdale merged commit 2ec63bd into develop Jul 25, 2024
7 checks passed
@rdteviotdale rdteviotdale deleted the task/RDMP-218-use-historical-cohort-version branch July 25, 2024 14:54
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.

2 participants