I use 5.x-1.3 and spent a couple of hours trying to figure out why the migration was loosing all the release information. I use postgres 8.3, but I believe that is not the problem.

While looking at step 6002, I fount line 427 suspicious:

    if (file_exists($file->file_path)) {

This does not check for the existence of files in the place where releases are placed. As a result no file is migrated. I tried changing it to (project_release.install line 427):

 if (file_exists(file_create_path($file->file_path))) {

This way all my file definition moved. I assume this will affect other user that use the release mechanism.

Comments

hass’s picture

Issue tags: +6.x-1.0 blocker

+

hass’s picture

Version: 6.x-1.0-alpha4 » 6.x-1.x-dev
Priority: Normal » Critical
Status: Active » Needs review
StatusFileSize
new829 bytes

Patch attached. Data loss is self-speaking critical.

  • hass committed 222999a on 6.x-1.x
    Issue #1091358 by hass, mailleux: Migration from 5.x-1.3 will loose all...
hass’s picture

Issue summary: View changes
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.