If, say, the destination table doesn't match what's expected when using MigrateDestinationTableCopy, you get a fatal error "Error: Call to undefined method MigrateDestinationTableCopy::handleException() ". This is because it's calling $this->handleException() where it should be calling $migration->handleException(). Fix to follow shortly.

Comments

mikeryan’s picture

Status: Active » Fixed

Fix-plus committed - turns out there was a reason for the exception, we've added map fields since I last looked at this destination and it was attempting to insert them into the destination table.

barnettech’s picture

Hi Mike,

James at Babson. How can I get this fix, I can't use migrate ui due to this bug. I tried pull migrate module from the head of 7.x-2.x but no luck

I don't see a 7.x-2.x-dev in the branch list:

belldev2:migrate barnettech (7.x-2.x)$ git branch -rv
origin/6.x-1.x 3533686 Issue #891356 by erikwebb: Export comment noting install-time restriction
origin/6.x-2.x 2252a4d Issue #1827052 by danquah: Properly check for bad XML
origin/7.x-2.x 93f4d3a Issue #1972600 by mikeryan: Add getter for the MigrateXMLReader member of MigrateSourceXML
origin/HEAD -> origin/7.x-2.x
origin/drewish 8e6d2db Issue #1342936 by drewish: Pass source key in calls to Migration::createStub().
origin/master ce8be06 Stripping CVS keywords

Status: Fixed » Closed (fixed)

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