Closed (fixed)
Project:
Drupal-to-Drupal data migration
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 May 2013 at 18:43 UTC
Updated:
9 May 2014 at 13:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mikeryanBetter description.
I haven't had a prefixed scenario to test migrate_d2d with, I don't doubt that it's broken. If someone dealing with prefixed databases can try submitting a patch, that would be great.
Comment #2
ratatine commentedI too face this issue and am willing to test for you but I do not know what to change. It appears this is all contained in the migrate classes. The variable for the prefix (drupal_ in my case) is gathered by the wizard but I don't see a way to pass it to the migrate class.
That said any suggestions and I can try them. (Including if anyone to call me which files need changing.) The prefix in my destination drupal 7 install is the same. Thanks.
Comment #3
ParisLiakos commentedit seems that the prefix field in the form, has the name
db_prefixwhile it should be justprefixdoing something like
in
MigrateD2DWizard->connectionbefore callingDatabase::addConnectionInfoseems to do the trick for nowComment #4
ecmu commentedTo be precise, the code to be added is :
before :
in "connection()" function of "migrate_d2d_ui.migrate.inc".
That worked for me...
Comment #5
rob_johnston commentedPatch attached for comments in #4 (it worked for me too).
Comment #6
robcarrRolled the patch at #5 (against latest DEV) and the prefixes work
Comment #7
robcarrComment #8
bisonbleu commentedRan into this prefix issue. The patch in #5 works for me. Thanks all!
Comment #9
danepowell commentedYep #5 works.
Comment #10
jygastaud commented#5 works to me to on lastest DEV.
Thanks a lot.
Comment #11
mikeryanCommitted, thanks! Unfortunately I botched the commit message though... http://drupalcode.org/project/migrate_d2d.git/commit/ecb550c