diff --git a/CHANGELOG.md b/CHANGELOG.md index e8a2145232..292c38aa23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,9 +25,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Running RDMP cli without supplying repository connection details (and after deleting `Databases.yaml`) now results in a specific error message instead of null reference [#1346]https://github.com/HicServices/RDMP/issues/1346 - Fixed Pipeline components who run in threaded but call UI methods resulting in unstable UI components [#1357](https://github.com/HicServices/RDMP/issues/1357) +- Fixed deleting an [ExtractionConfiguration] with Selective Refresh enabled not removing it from UI [#1375](https://github.com/HicServices/RDMP/issues/1375) - YamlRepository now saves LoadModuleAssembly binary content as a `.nupkg` file instead of string yaml [#1351](https://github.com/HicServices/RDMP/issues/1351) - Fixed Console Gui activator 'Select File' dialog having a confusing title of "Directory" [#1282](https://github.com/HicServices/RDMP/issues/1282) + ## [7.0.17] - 2022-08-01 ### Added diff --git a/Rdmp.Core/Providers/DataExportChildProvider.cs b/Rdmp.Core/Providers/DataExportChildProvider.cs index b8f3177cbe..5810b927d0 100644 --- a/Rdmp.Core/Providers/DataExportChildProvider.cs +++ b/Rdmp.Core/Providers/DataExportChildProvider.cs @@ -853,6 +853,10 @@ public bool SelectiveRefresh(SelectedDataSets sds) } public bool SelectiveRefresh(IExtractionConfiguration ec) { + // don't try to selectively refresh when deleting + if (!ec.Exists()) + return false; + var project = ec.Project; // update it to the latest state project.RevertToDatabaseState();