Closed (fixed)
Project:
Replication
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Jan 2019 at 16:00 UTC
Updated:
11 Mar 2019 at 13:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
axicdv commentedComment #3
l0keI would give a try to another approach
Do not force
uidfrom settings on Normalization.Instead, handle it like any other entity reference but add a similar condition on denormalization and check if the user with given
UUIDexists- if yes then we can keep the original reference properly
- if no set value from
\Drupal::service('replication.users_mapping')->getUidFromConfig()This approach will also mean that #3027599: Workspace. Internal replication. Do not override the author of the content is not longer needed.
Comment #4
axicdv commentedSimilar condition on denormalization exist.(
UsersMapping::mapReferenceField())Force uid from settings on Normalization deleted.
Comment #5
l0keComment #6
knyshuk.vova commentedThe patch looks good and applies successfully. +1 for RTBC.
Comment #8
jeqq commentedThank you!