Problem/Motivation
The contact category migration dedupes the user_role entity instead of contact_form, the actual destination. And even that is using a field 'cid' which does not exist on the user role entity, so always return 0.
plugin: dedupe_entity
entity_type: user_role
field: cid
length: 32Proposed resolution
Dedupe on contact_form using the id field.
plugin: dedupe_entity
entity_type: contact_form
field: id
length: 32| Comment | File | Size | Author |
|---|---|---|---|
| #2 | interdiff.txt | 411 bytes | quietone |
| #2 | 2812625-2.patch | 2.08 KB | quietone |
| #2 | 2812625-2-test-only.patch | 1.54 KB | quietone |
Comments
Comment #2
quietone commentedModified the contact category migration test to force the creation of a duplicate.
Comment #4
heddnGood test coverage. Obviously a copy/pasta error that is getting fixed with a test.
Comment #6
heddnMomentary blip resulting from massive DDoS outage. Passed on retest, still RTBC.
Comment #7
alexpottCommitted and pushed 8c813b1 to 8.3.x and 69e96b3 to 8.2.x. Thanks!