Developer forum

Forum » Swift » Component references break on site copy

Component references break on site copy

Melissa Borgmann
Melissa Borgmann
Reply

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:

  1. Navigate to Apps > Websites, right-click any site utilizing components and select 'Copy' 
  2. After site copy is complete, navigate to a content page utilizing a component 
  3. Click 'Show page'; note the template error (Figure 2)
  4. Open the component in Visual Editor; note the template error (Figure 3)
  5. Click 'Save' in the ribbon
  6. Note the component selector is now available, and the first component in the list is selected (Figure 4)
  7. Select the correct component and click 'Save' in the ribbon
  8. Click 'Show page'; note the template error is now resolved
     

Figure 1

 

Figure 2

 

Figure 3

Figure 4

 

Melissa B.


Replies

 
Melissa Borgmann
Melissa Borgmann
Reply

Copied post to a different forum category: https://doc.dynamicweb.com/forum?ThreadID=93010&PID=1605. Not aware of an option to delete this original post, but please feel free to remove it.

 

You must be logged in to post in the forum