Commons Migration

Component ID

1946220

Component name

Commons Migration

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

512

Component created

Component changed

Component body

Provide a migration path from Commons 2.x to 3.x.

NOTE:

This module requires the following:

  • dev releases for both migrate and migrate_d2d
    • git clone --branch 7.x-2.x http://git.drupal.org/project/migrate.git
    • git clone --branch 7.x-2.x http://git.drupal.org/project/migrate_d2d.git
  • This patch applied to OG
  • Adding the database config information for your existing (old) commons database into the $databases array in settings.php. Be sure it is called 'legacy'
    'legacy' =>
      array (
        'default' =>
        array (
          'database' => 'YOUR_OLD_DB_NAME',
          'username' => 'YOUR_OLD_DB_USERNAME',
          'password' => 'YOUR_OLD_DB_PASSWORD',
          'host' => 'YOUR_OLD_DB_HOST',
          'port' => '',
          'driver' => 'mysql',
          'prefix' => '',
        ),
      ),
    


Functional area Architecture in 6.x-2.x Architecture in 7.x-3.x
Email notifications Messaging + Notifications module Message Subscribe, Message Notify, Flag, Commons Notify & Commons Follow
Group memberships OG 6.x OG 7.x-2.x
User profile fields Profile module Core entity fields
Media Imagefield Filefield + Media module
Status updates Activity log Post content type with custom form
Activity stream Activity log module Message module (Activity stream entries auto-generate as content is migrated)
Content type mapping
Wiki Wiki
Question Question
Answer Answer
Blog post Post
Discussion Post
Document (with filefield) Document (with filefield)
Event Event
Core Poll Core Poll