If you have a sufficiently large mapping with a large number of fields, the page can become completely unresponsive upon checking the 'DNM' checkbox or checking the source fields below.

This is due to using the drupal states api to mark the source/default/source fields as disabled.

If there are a lot of form elements on a page, the drupal states api completely breaks down when Drupal.attachbehaviors is called.

CPU heap profile in devtools shows about 95 seconds on my ultrafast desktop.

Comments

13rac1’s picture

Hmm.. This is probably yet-another-reason why much of the migrate UI was removed in D8.

mikeryan’s picture

Status: Active » Closed (duplicate)

Dupe of #1999228: "Unresponsive script" when checking the DNM (Do Not Migrate) box for destination fields you do not want populated by migration. - if there are any ideas how to avoid #states, please offer them in the original issue.

@eosrei: Only the portion of Migrate necessary to support Drupal upgrades is going into core for Drupal 8 - the UI will remain in contrib.