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.
Problem/Motivation
Field instance settings for custom User fields are not migrating, e.g. custom fields are hidden editing a user (after migration).
Proposed resolution
Currently the query to obtain field instance settings is restricted to nodes - removing this condition will resolve the problem.
Remaining tasks
Remove condition on migration of field instance settings.
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#24 | d7_user_field_instance_settings_not_migrating-2675470-24.patch | 17.57 KB | jofitz |
Comments
Comment #2
jofitz CreditAttribution: jofitz commentedRemove condition on migration of field instance settings.
Comment #3
quietone CreditAttribution: quietone as a volunteer commentedComment #4
benjy CreditAttribution: benjy at PreviousNext commentedSeems reasonable, just needs some tests.
Comment #6
jofitz CreditAttribution: jofitz commentedChecking in v8.1.1
Comment #7
jofitz CreditAttribution: jofitz commentedVersion changed in error.
Comment #8
jmuzz CreditAttribution: jmuzz commentedThis also affects fields on taxonomy terms and any other entities that aren't nodes such as ECK entities, field collection items, etc.
Comment #9
jofitz CreditAttribution: jofitz at ComputerMinds commentedAdded tests for:
* Users
* Comments
* Taxonomy terms
Comment #10
jofitz CreditAttribution: jofitz at ComputerMinds commentedComment #13
jofitz CreditAttribution: jofitz at ComputerMinds commentedCorrect patch failures:
* Update expected entity counts
* Migrate (newly required) taxonomy vocabulary in Node test.
Comment #15
jofitz CreditAttribution: jofitz at ComputerMinds commentedCorrect patch failures.
Comment #16
hussainwebI tested this and it works great. The patch looks correct as well and except for tests that seem to be repeated in various other patches in the queue, everything looks good.
Before:
After:
As for the repeated tests, we would have to reroll other patches once this gets in. It also makes logical sense to commit this one first as this one is about instances.
Comment #18
hussainwebRerolled and setting it back to RTBC as it is a simple reroll.
Comment #20
jofitz CreditAttribution: jofitz at ComputerMinds commentedRerolled and setting it back to RTBC as it is a simple reroll.
Comment #22
jofitz CreditAttribution: jofitz at ComputerMinds commentedCorrect id error in test fixtures.
Functionality still has not changed since #15 so setting back to RTBC.
Comment #24
jofitz CreditAttribution: jofitz at ComputerMinds commentedRe-rolled patch yet again due to conflict in MigrateUpgrade7Test.
Comment #25
alexpottCommitted and pushed 35a5e6bc433f4edd4341f79a33028beae9ae7c68 to 8.2.x and 3e77ea2 to 8.1.x. Thanks!