We're updating the issue view to help you get more done. 

csv import/export:resolve foreign should respect dynamic validate

Description

example you have table business_data
it have two column
master_category_id get data from table master_category
master_id get data from table master

master.name can't duplicate on same master_category_id, but can duplicate when difference master_category_id

when you use csv to import data for business_data, function GridTabCSVImporter.resolveForeign will raise error ForeignMultipleResolved because query to check duplicate value only depend on client_id

i got this issue when i put table_id and column_id on same table. so column "name" don't duplicate on scope of table, but duplicate on client scope

Environment

None

Status

Assignee

Hiep Lq

Reporter

Hiep Lq

Labels

Tested By

None

Priority

Major