Research Data Management Platform (RDMP) is an open source application for the loading,linking,anonymisation and extraction of datasets stored in relational databases.
When cloning an extraction configuration that contains deprecated catalogues, ask the user if they want to replace the catalogue with it's replacement in the new cloned extraction configuration.
Will replace with any known replacement, and will recurse down the catalogue replacement tree to find the first non-deprecated catalogue if there is a chain of deprecated catalogues. i.e. D -> D -> C
Type of change
What types of changes does your code introduce? Tick all that apply.
[ ] Bugfix (non-breaking change which fixes an issue)
[x] 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:
[x] Ensured that the PR branch is in sync with the target branch (i.e. it is automatically merge-able)
[x] Created or updated any tests if relevant
[x] Have validated this change against the Test Plan
[x] 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
Proposed Change
When cloning an extraction configuration that contains deprecated catalogues, ask the user if they want to replace the catalogue with it's replacement in the new cloned extraction configuration.
Will replace with any known replacement, and will recurse down the catalogue replacement tree to find the first non-deprecated catalogue if there is a chain of deprecated catalogues. i.e. D -> D -> C
Type of change
What types of changes does your code introduce? Tick all that apply.
Checklist
By opening this PR, I confirm that I have: