Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Migrate captcha settings
Comment | File | Size | Author |
---|---|---|---|
#21 | 2036925-21.patch | 18.65 KB | japerry |
| |||
#16 | 2036925-namespace-16.patch | 1.25 KB | japerry |
| |||
#12 | 2036925-11.patch | 32.74 KB | japerry |
| |||
#10 | 2036925-10.patch | 32.75 KB | japerry |
#9 | 2036925-9.patch | 21.63 KB | japerry |
Comments
Comment #1
naveenvalechaComment #2
ddrozdik CreditAttribution: ddrozdik as a volunteer commentedThis issue could be closed, since settings already converted to D8 format.
Comment #3
naveenvalechaReusing this issue for the migrating d7 data to d8
Comment #4
ddrozdik CreditAttribution: ddrozdik as a volunteer commentedok, current title is much better :)
Comment #5
heddnLinking in #2906878: [Meta] Support for D7 -> D9 contrib migrate
Comment #6
couturier CreditAttribution: couturier as a volunteer commentedThis module is really suffering from a lack of time by maintainers to address even the big issues. Isn't it possible to hand-configure CAPTCHA in a new upgrade without too much work? Seems like our time should be spent at this point getting to a stable 8.x release since users are reporting the current 8.x dev is unusable in general and we are years past the Drupal 8 release.
Comment #7
Wim LeersComment #8
Wim LeersFYI, the
recaptcha
module, which depends on this one, does already have a migration ready: https://git.drupalcode.org/project/recaptcha/-/blob/8.x-3.x/migrations/d...Comment #9
japerryHere is a first shot at migrating everything. still need to work through some specifics in the tests.
Comment #10
japerryLets try this again, should have 3 new migrations and tests to go alongside them.
Comment #12
japerryComment #14
japerryComment #15
heddnSorry, I didn't jump in earlier to review. Some thoughts to consider:
This is going to conflict w/ the destination provided by migrate_plus. Could we add a module name prefix to it? So we don't run into odd conflicts?
Comment #16
japerryOhh good point it could. Here is a patch, if it passes tests then I'll commit it.
Comment #17
heddnMuch better. Thanks!
Comment #19
japerryPerfect! Fixed.
Comment #20
Wim Leers🐛 Missing
Configuration
tag.🤔 Do we really need to migrate CAPTCHA sessions?
Sessions won't get migrated from 7 to 9, so migrating CAPTCHA sessions seems completely pointless?
Then this could be removed too … 🤞
🐛 Why inject this if it does not end up being used?
🤔 Shouldn't this also
?
That is critical for CAPTCHA to work correctly, unlike the label.
Comment #21
japerrySo CAPTCHA sessions are not the same as drupal user sessions, they're attached to the form that was submitted previously. While upgrading probably will remove any form cache, I suppose you cannot get the captcha session id anyway. So I guess it can be removed?
As for the other pieces, fixed. Here is a patch.
Comment #23
japerryComment #24
Wim LeersThat's my understanding, but hey, you are the CAPTCHA module maintainer 😊
Yay!