Bug report #17450
values for cached join fields randomely become null when dragging canvas
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | Paul Blottiere | ||
Category: | Vectors | ||
Affected QGIS version: | master | Regression?: | Yes |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | Yes | Copied to github as #: | 25347 |
Description
I've finally been able to reduce this features going missing issue that's been haunting me for a while now.
When doing multiple joins like this:
i.e. fields ORIGINAL -> joined fields A linked through a field in ORIGINAL -> joined fields B linked through a joined field in Athe values will get lost every now and then when those joins are cached. Steps to reproduce
- Open the attached join_cache test project
- When the project opens, start rapidly panning the canvas around (small steps using the mouse's middle button is the easiest way)
- You'll notice the dark pink polygons going missing after every few pans (see gonebabygone.mp4 video too)
This does not only affect feature rendering, saving the layer (with all its joins) can actually write null values for joined fields B.
Associated revisions
Fixes #17450 by correctly setting the join info ordered list
Merge pull request #5638 from pblottiere/bugfix_joins
[bugfix] Fixes #17450 by correctly setting the join info ordered list
History
#1 Updated by Mathieu Pellerin - nIRV about 7 years ago
- Description updated (diff)
#2 Updated by Mathieu Pellerin - nIRV about 7 years ago
- File gonebabygone.mp4 added
Better video, featuring the reduced test project attached.
#3 Updated by Giovanni Manghi about 7 years ago
- Regression? changed from No to Yes
Seems also to not happen in 2.18(?).
#4 Updated by Paul Blottiere about 7 years ago
- Assignee set to Paul Blottiere
#5 Updated by Regis Haubourg about 7 years ago
PR proposed here [[https://github.com/qgis/QGIS/pull/5638]]
#6 Updated by Paul Blottiere about 7 years ago
- % Done changed from 0 to 100
- Status changed from Open to Closed
Applied in changeset qgis|333a8e9e9464f4901d185a410be64fcc2b1c2c9c.