I realize that perhaps this is going to be a strange use-case but not that uncommon I reckon.

After install migrate_d2d I started doing some test of migration stuff (Currently trying to migrate ubercart -> commerce)

I'm also using Aegir to backup things...

When I reverted the last time I received this error and cannot access the Migrate page due to this error being thrown.

populateSourceFieldInfo() (line 79 of [trimmed]/migrate_d2d/d7/d7.inc).

The reason being is that the db pw is cached and therefore I have no way to change it. AND using Aegir each time to roll out the db it changes the password regardless of what it was before. This could also be an issue given someone changes the db internally and then has no way to get back and change it. :(

Comments

cthos’s picture

Category: Bug report » Feature request

It sounds like you're using the migrate_d2d_ui to do the set up of this migration. Please correct me if I'm wrong, but that's what I'm basing the following on:

This is one of those times that the Migrate_D2D UI module isn't going to take you 100% of the way. You're going to want to actually write a migration module where you can get the actual db settings from either Aegir, or manually setting them in the hook_migrate_api_alter.

Adding the ability to change the DB credentials via the UI is a feature request, and so I'm updating the ticket as such.