Skip to content

Report 14 — Orphaned *Element.cshtml Files Audit

Date: 2026-02-26 Updated: 2026-02-27 Status: COMPLETE


Current State

Migration tool duplication fixes (commits 09935d2, 164069f, 76a17cf) reduced element types from ~455 to ~430 on fresh migration runs. The 4 orphaned redundant views identified below were removed (Phase 5E). The 6 active element views remain in production.

Summary

19 files match *Element.cshtml in blockgrid/Components/:

Status Count Action
ACTIVE 6 KEEP — these ARE the DB alias views
REDUNDANT 11 4 removed (Phase 5E); remaining 7 deferred to cross-DB validation
RESOLVED 2 Resolved — alias views now exist

ACTIVE Files (6) — DO NOT REMOVE

These file names match actual DB element type aliases:

File DB Alias
cookiesElement.cshtml cookiesElement
loginElement.cshtml loginElement
loginStatusElement.cshtml loginStatusElement
registerElement.cshtml registerElement
umbracoFormElement.cshtml umbracoFormElement
audioTagElement.cshtml audioTagElement

REDUNDANT Files (11) — Remove after cross-DB validation

These files don't match any DB alias and duplicate existing views:

Element File Already Covered By
accordionButtonElement.cshtml accordionButtonMain.cshtml
accordionControlsElement.cshtml accordionControls.cshtml
buttonModalElement.cshtml buttonModal.cshtml
counterElement.cshtml counter.cshtml
headingElement.cshtml headingItem.cshtml
heroElement.cshtml heroItem.cshtml
imageWithLinkElement.cshtml imageWithLink.cshtml
linkListElement.cshtml linkListControl.cshtml
embedElement.cshtml grid_builtin_embed.cshtml (identical copy)
mediaElement.cshtml grid_builtin_media.cshtml (wrong props in Element version)
rteElement.cshtml grid_builtin_rte.cshtml (wrong props in Element version)

RESOLVED (2) — Alias views now exist

Element File Target Alias Status
ctaElement.cshtml cTAItem cTAItem.cshtml now exists
faqElement.cshtml faqControls faqControls.cshtml now exists

Path A/B Coverage

Path B Alias (DB) Path B View Path A Alias Path A View
grid_element_psdataprotectiondpo EXISTS gridElementPsdataprotectiondpo MISSING
grid_element_psdataprotectionname EXISTS gridElementPsdataprotectionname MISSING
grid_element_psdataprotectionsummarytable EXISTS gridElementPsdataprotectionsummarytable MISSING
grid_element_psdataprotectionweare EXISTS gridElementPsdataprotectionweare MISSING
grid_element_socialfooter EXISTS gridElementSocialfooter EXISTS
grid_element_stickysocial EXISTS gridElementStickysocial EXISTS
grid_element_largegooglemap EXISTS gridElementLargegooglemap EXISTS

Note: Data protection Path A views (gridElementPsdataprotection*) don't need to exist — content references Path B aliases.

Migration documentation by Double for Progress Credit Union