Hello,
It appears that component references break and result in template errors in both the DynamicWeb frontend and backend when a site is copied (Figure 1). If you open the component container and re-save it, you're able to re-select the appropriate component source. Solution is running 9.17.5 + Swift 1.26.0.
See screencast of resolving the issue: https://app.screencast.com/ncuNBtUMsCmhM
Repro steps:
- Navigate to Apps > Websites, right-click any site utilizing components and select 'Copy'
- After site copy is complete, navigate to a content page utilizing a component
- Click 'Show page'; note the template error (Figure 2)
- Open the component in Visual Editor; note the template error (Figure 3)
- Click 'Save' in the ribbon
- Note the component selector is now available, and the first component in the list is selected (Figure 4)
- Select the correct component and click 'Save' in the ribbon
- Click 'Show page'; note the template error is now resolved
Figure 1
Figure 2
Figure 3
Figure 4
Melissa B.