Developer forum

Forum » Ecommerce - Standard features » Component references break on site copy

Component references break on site copy

Melissa Borgmann
Melissa Borgmann
Reply

Copied from https://doc.dynamicweb.com/forum?ThreadID=92951&PID=1605 as I was advised this was likely a platform issue vs. a Swift issue:

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
 
Melissa Borgmann
Melissa Borgmann
Reply

Additionally, please note that applied CSS Decorations on rows/columns do not transfer via the deployment tool or when copying the site. Same essential repro steps from the original post:

  1. Apply CSS decoration(s) to row and/or column
  2. Copy the site or transfer the content utilizing the deployment tool
  3. Note that the CSS decoration(s) is not applied on the copied row/column

 

 

 

You must be logged in to post in the forum