Bug report #10912
joined attributes are not (correctly) propagated in nested joins
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Martin Dobias | ||
Category: | Vectors | ||
Affected QGIS version: | 2.4.0 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 19275 |
Description
It seems there is a problem with nested joins.
By nested joins, I mean layer A is joined to B which itself is joined to c, then D etc.
What I expected when I open the attribute table of layer A is to get all the attributes.
They would named in QGIS:
A_attrs | A_B_attrs | A_B_C_attrs | A_B_C_D_attrs
I set up a small project to test this.
In my setup, only the attributes of the first join layer are shown (B in A, C in B, D in C).
But, when trying this with Andreas yesterday, all attributes column where shown, but some were filled with NULL values.
Associated revisions
Fix #10912 (joined attributes are not correctly propagated in nested joins)
This commit makes QgsVectorLayerJoinBuffer listen to changes in fields
of joined vector layers in order to update the cache and inform parent layer
History
#1 Updated by Giovanni Manghi over 10 years ago
- Subject changed from joined attributes are not (coorectly) propagated in nested joins to joined attributes are not (correctly) propagated in nested joins
#2 Updated by Denis Rouzaud over 10 years ago
- Assignee set to Martin Dobias
#3 Updated by Martin Dobias about 10 years ago
- Status changed from Open to Closed
Fixed in changeset 071a5ec0c528f886bc7875c43c9e2260191a432c.