Closed (fixed)
Project:
Linkit
Version:
7.1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
24 Apr 2026 at 23:15 UTC
Updated:
11 May 2026 at 16:30 UTC
Jump to comment: Most recent
The bug in #3570672: Two simple link fields on same content type overwrite each other resulted in some two different values being saved to one of the single-value link fields on my form that looks like this:
uri: entity:node/1
options:
data-entity-type: node
data-entity-uuid: wrong-uuid-of-node-2
href: /node/2
Because the code in prefers the UUID value above the actual uri value, this resulted in data loss the next time this form was saved. How can we prevent this for any existing field data?
Check and fix this mismatch in the field widget for now?
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
dave reidComment #4
dave reidComment #5
mark_fullmerAssigning myself for review...
Comment #6
mark_fullmerIt makes sense to me that if there is a mismatch between the stored entity and the passed attribute UUID value, the original value should be used. Merging & marking as Fixed.