You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Rock.Migrations/Migrations/Version 19.0/Version 19.0/202602101924214_RemoveLegacySystemEmailPagesBlocksEtc.cs
-- Remove any other legacy records (We are commenting this out due to potential plugins that are still referencing records in this table)
125
+
-- DELETE FROM [SystemEmail]
126
+
-- WHERE [Guid] <> @SystemEmailGuid;
127
127
128
128
-- Update the retained compatibility record
129
129
UPDATE [SystemEmail]
@@ -136,7 +136,7 @@ UPDATE [SystemEmail]
136
136
Some RockShop plugins include legacy migrations that still reference this table. Dropping it could cause those plugins to fail during installation or upgrade. For that reason, the table has been intentionally retained out of an abundance of caution.
137
137
138
138
This table should be considered deprecated and will be removed in a future major version once compatibility concerns have been resolved.'
139
-
WHERE [Guid] = @SystemEmailGuid;
139
+
-- WHERE [Guid] = @SystemEmailGuid; NOTE: We are doing this for all remaining SystemEmail records.
140
140
");
141
141
142
142
// Remove the legacy EntityType and any associated Categories
returnstring.Format("{0} in registration instance '{1}' {2}",filterOptions,"[MISSING]",waitlistFilterStatus);
213
+
}
215
214
else
216
215
{
217
216
varregistrationTemplate=newRegistrationTemplateService(newRockContext()).Queryable().Where( t =>t.Id==selectionConfig.RegistrationTemplateId).FirstOrDefault();
218
-
returnstring.Format("{0} in any registration instance of template '{1}' {2}",filterOptions,registrationTemplate.Name,waitlistFilterStatus);
217
+
returnstring.Format("{0} in any registration instance of template '{1}' {2}",filterOptions,registrationTemplate?.Name??selectionConfig.RegistrationTemplateId+" [MISSING]",waitlistFilterStatus);
219
218
}
220
219
}
221
220
@@ -244,6 +243,7 @@ public override Control[] CreateChildControls( Type entityType, FilterField filt
0 commit comments