D
Deleted member 75341
Guest
Hello, I'm facing a strange behaviour (bug)with check for duplicates.
Seems that check for duplication parameters looks inside all the field submitted and not only where it's assigned.
Scenario:
In config.php I've the variable $percentage_similarity = 100;
I've 2 different field:
Field_A;
Field_B;
For both I've the flag duplicate check: yes.
On Field_A I put "10" (id from a lookup table);
On Field_B no value;
Save the record.
Second time:
On Field_A I put "37" as value (id from a lookup table);
On Field_B I put "10" as text;
Saving the record a warning come out about a possible duplication and no other "10" in Field_B.
The value "10" is only present on Field_A.
This is a no sense for me since the value to check during insert is not related to the same column.
Let me know.
Seems that check for duplication parameters looks inside all the field submitted and not only where it's assigned.
Scenario:
In config.php I've the variable $percentage_similarity = 100;
I've 2 different field:
Field_A;
Field_B;
For both I've the flag duplicate check: yes.
On Field_A I put "10" (id from a lookup table);
On Field_B no value;
Save the record.
Second time:
On Field_A I put "37" as value (id from a lookup table);
On Field_B I put "10" as text;
Saving the record a warning come out about a possible duplication and no other "10" in Field_B.
The value "10" is only present on Field_A.
This is a no sense for me since the value to check during insert is not related to the same column.
Let me know.