Closed (fixed)
Project:
Drupal-to-Drupal data migration
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Reporter:
Created:
22 Jan 2013 at 21:16 UTC
Updated:
24 Apr 2013 at 18:10 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mikeryanComment #2
Anonymous (not verified) commentedThis patch is dependent upon this other patch to migrate:
http://drupal.org/node/1901980#comment-6998214
Comment #3
Anonymous (not verified) commentedComment #4
mikeryanWe're rethinking the general approach to encrypting arguments, see #1901980: Convenience functions for encryption/decryption.
Comment #5
Anonymous (not verified) commentedI've isolated these changes to the migrate_d2d module (no patch to base migrate needed). I've mimicked the behavior of the encrypt module in the case of it being absent so that if it's added later the encrypted values will still be useable.
Comment #6
Anonymous (not verified) commentedA few more updates based on feedback from Mike.
Comment #7
mikeryanLooks good to me (and works just fine with my current wizard code), feel free to commit at will to the wizard_api branch.
Thanks.
Comment #8
Anonymous (not verified) commentedComment #9
Anonymous (not verified) commentedDeprecating these functions before the official release of this branch and updating the code to rely on the encrypt/decrypt functions added to MigrationBase in this issue: http://drupal.org/node/1901980
Comment #10
mikeryanHere's a patch to work with the latest Migrate patch at #1901980: Convenience functions for encryption/decryption.
Comment #11
mikeryanActually, just occurred to me we should have an update function to add the encrypted_arguments to group argument for any existing migrations that have encrypted the source_database.
Comment #12
mikeryanI implemented the update function and tested with a site migration I had registered with the former encryption builtin to migrate_d2d, worked just fine, I've committed this.