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
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
1 parent
dee2346
commit ae875f5
Showing
3 changed files
with
37 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters