Closed (won't fix)
Project:
Drupal core
Version:
8.0.x-dev
Component:
migration system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Nov 2013 at 16:30 UTC
Updated:
4 Jun 2015 at 21:02 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
fastangel commentedworking on this.
Comment #2
fastangel commentedI can't find mapping for this. In d8 we have:
But in d6 the table flood is into module system. And the variables to settings flood are managed with system module (That were implemented in other issues)
Comment #3
chx commentedLet me try to explain this once again: if you were to copy the problematic Drupal 7 variables then I would not need to open user.install , find the update function and that we talk about user_failed_login_user_limit. This is frustrating and wastes my time. You have this in front of you. Please save a little time for me. What we have in Drupal 8 is (almost) irrelevant in this case because we need to see what the variable is used for in D7 and then compare to D8.
In this specific case, if you run a search on user_failed_login_user_limit in D7 then you can find that it has no UI to set and it's read merely twice. It's not upgraded from D6, that's for sure. It is visible that it's used a configuration for flood control.
Searching for flood_is_allowed in D6 shows that only contact was flood controlled and user login was not. So this is D7 only.
Comment #4
eliza411 commentedMoving to the core queue to consolidate issues now that we're doing all the work there.
Comment #5
eliza411 commentedComment #6
eliza411 commentedComment #7
eliza411 commentedComment #8
eliza411 commentedComment #9
joshtaylor commentedI am working on this.
Comment #10
joshtaylor commentedComment #11
benjy commentedWhy would all these be null?
Shouldn't this be
d6_variable?Comment #12
joshtaylor commentedGood catch - I've updated to d6_config as per the new standard.
I also can't get the tests to pass - for some reason after loading the dumps it thinks it is null.
This is also my first interdiff, let me know if it is incorrect.
Comment #13
benjy commentedThis key doesn't match above?
Ident is wrong on this.
Comment #14
joshtaylor commentedSorry for the delay on this - I have updated the files to mimic https://drupal.org/node/2130283 .
I've fixed the indentation levels, updated the YML for user_failed_login_identifier_uid_only, and all tests pass.
Comment #15
joshtaylor commentedComment #16
benjy commentedThanks. Committed to drupal7 c641847
Comment #18
jcost commentedWill need to be submitted again to Core since moving from sandbox.
Comment #19
phenaproximaRerolled against 8.0.x, with a test of the d7_user_flood migration.
Comment #20
phenaproximaDeleted a bit of extraneous cruft from the test.
Comment #22
phenaproximaBlocked by #2495755: Create MigrateDrupal7TestBase.
Comment #23
phenaproximaComment #24
phenaproximaNeeds to be merged into the parent issue.
Comment #25
phenaproximaMerged into #2414651: Migration Files for Drupal 7 Users.