Closed (won't fix)
Project:
Drupal core
Version:
8.0.x-dev
Component:
migration system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Nov 2014 at 21:30 UTC
Updated:
1 Oct 2015 at 22:16 UTC
Jump to comment: Most recent
Comments
Comment #1
chx commentedComment #2
chx commentedThe test change should be committed but the fix shouldn't after #2232477: Fatal when adding new fields with NOT NULL constraints in a base table that contains existing entities. We have a similar problem with taxonomy but that can't be depth ordered and that suffers the same problem so a bigger fix is needed and that is that: abolish NOT NULL in the base table.
Comment #3
eliza411 commentedI know we're looking a different direction for a fix here, so please disregard this if it's not helpful. I was continuing to test menu link migrations with menulinkorder_fix.patch. The migration seems to succeed, no errors thrown, but any migrated menu with a second layer of depth (or more) displays the Drupal error screen, and the log files say:
Word of warning, if you place the menu without checking, the site give one of these:
If you have just changed code (for example deployed a new module or moved an existing one) read http://drupal.org/documentation/rebuildNone of the tips (deleting files/php content, clearing cache etc.) helped, so I started over.
Comment #4
benjy commentedNow #2232477: Fatal when adding new fields with NOT NULL constraints in a base table that contains existing entities has been committed do we just need a test? I can't actually see what changed in the test only patch?
Comment #5
mikeryanThis seems obsolete - the field patch was committed long ago, plus the query is now ordered by depth as the original resolution suggested. And, like benjy, I've looked at the test diffs up and down and cannot see the difference.