Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix wrong attr values in joined fields
If the joined layer has field names that collide with already existing fields, these fields from the joined layer are dropped. However, this situation was not handled in the code, as the real joined field attr index is not being used, but indices starting from 0, 1, 2 for each of the joined fields. For example: "joined" layer has fields "id", "name" and "descr"; "source" layer has fields "id", "name", "joined_id" Then "id" and "name" column from "joined" will be discarded, but the the value for "descr" would not be taken from attribute index 2, but index 2. Fix #26652
- Loading branch information