Open er1 opened 8 years ago
Yeah, I can see why that might be an issue. The custom_fields and c_f namespaces are considered to be the same thing (for legacy support when I changed the default namespace). There's nothing clever in place to see them as different.
I see how this can be a problem if someone does have both in place. Worth marking as a bug to finally better handle that. Thanks for the heads up.
Fields which have the same key name but different namespaces are not populated correctly. One value is repeated across all fields with the same key name. This is only an issue with reading, writing works as expected the proper values however since the values were read wrong the old values get clobbered.
Reproduce by defining fields
c_f.test
andcustom_fields.test
. Go to a product and set both values (I usedcustom_fields.test
=apples
andc_f.test
=oranges
). Reload the product and examine the values, one of them is repeated (I hadcustom_fields.test
=oranges
andc_f.test
=oranges
)