Please sign in to comment.
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
Improved version of #41215 Fix #26652 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" columns from "joined" will be discarded, but the the value for "descr" would not be taken from attribute index 2, but index 1.
- Loading branch information
Showing with 37 additions and 10 deletions.