Closed (fixed)
Project:
Provision
Version:
7.x-3.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Nov 2015 at 03:08 UTC
Updated:
17 Dec 2015 at 16:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
gboudrias commentedThis will produce a "database" error when visiting the old URL (instead of the logical 404), saying something like the database wasn't found (which is normal because it presumably got correctly deleted).
Comment #3
npacker commentedJust noticed this issue as well.
The cause seems to be the following logic:
In combination with:
The issue seems to be that the code is only deleting the old site if the platforms are different, even if the site is renamed in the process.
I'll see if I can devise a patch as it seems a straightforward issue to remedy.
Comment #4
npacker commentedHaven't had a chance to test this yet.
Comment #5
npacker commentedComment #6
gboudrias commentedThanks for the patch, seems to work nicely. Ideally I'd like to wait for someone else to test it too before committing since it's an important issue.
Comment #7
npacker commentedI expect to have a chance to test it today as well, should give us another data point.
Comment #9
helmo commentedWithout the patch I verified that the site specific folder was left behind.
And after applying it was properly cleaned up.
Committed!
Comment #10
helmo commentedComment #11
npacker commentedMarked #2498457: Migrated site not deleted in platforms sites directory as duplicate of this issue.