omega8cc / boa

Barracuda Octopus Aegir 5.5.0-PRO
https://omega8.cc/compare
394 stars 75 forks source link

Migrating a site in aegir rewrites external links that contain 'sites/default' #913

Open Corvalan opened 8 years ago

Corvalan commented 8 years ago

I have imported a site (i.e. newaegirsite.com) that uses images from another drupal site using absolute urls like: 'http://othersite.com/sites/default/files/image.jpg' Somewhere in the steps for importing the site in aegir, these links are overwritten and changed to "http://othersite.com/sites/newaegirsite.com/files/image.jpg'.

This probably occurs during the renaming step where the site is migrated back and forth in order to rewrite the paths.

Apparently the migrate action does not check the domain name of each link before performing the rewrite.

omega8cc commented 8 years ago

It is a known issue in Aegir we don't have a workaround for: https://www.drupal.org/node/2424833