@@ -125,6 +125,7 @@ public DataExportChildProvider(IRDMPPlatformRepositoryServiceLocator repositoryL
125125 ForbidListedSources = previousStateIfKnown ? . ForbidListedSources ?? new List < ExternalCohortTable > ( ) ;
126126 _errorsCheckNotifier = errorsCheckNotifier ;
127127 dataExportRepository = repositoryLocator . DataExportRepository ;
128+ base . FullReloadAsync ( repositoryLocator . CatalogueRepository ) ;
128129 FullReloadAsync ( dataExportRepository ) ;
129130 }
130131
@@ -831,6 +832,7 @@ public bool SelectiveRefresh(IExtractionConfiguration ec)
831832
832833 private void FullReloadAsync ( IDataExportRepository repository )
833834 {
835+ base . FullReloadAsync ( repository . CatalogueRepository ) ;
834836 AllProjectAssociatedCics =
835837 GetAllObjects < ProjectCohortIdentificationConfigurationAssociation > ( dataExportRepository ) ;
836838
@@ -968,6 +970,9 @@ protected override void RebuildPipelineTree()
968970
969971 public override async Task RefreshAsync ( CancellationToken ct = default )
970972 {
973+ // Delegate to base so that Catalogue-side tracked tables are also patched.
974+ await base . RefreshAsync ( ct ) ;
975+
971976 if ( _changeTracking is null )
972977 {
973978 FullReloadAsync ( dataExportRepository ) ;
@@ -1126,8 +1131,7 @@ public override async Task RefreshAsync(CancellationToken ct = default)
11261131
11271132 _lastSeenVersion = changes . CurrentVersion ;
11281133
1129- // Delegate to base so that Catalogue-side tracked tables are also patched.
1130- await base . RefreshAsync ( ct ) ;
1134+
11311135 }
11321136
11331137}
0 commit comments