Bug report #20893
QGIS crash using virtual layer in a layout
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | Julien Cabieces | ||
Category: | Map Composer/Printing | ||
Affected QGIS version: | 3.4.3 | Regression?: | No |
Operating System: | WIN 7 64bit | Easy fix?: | No |
Pull Request or Patch supplied: | Yes | Resolution: | |
Crashes QGIS or corrupts data: | Yes | Copied to github as #: | 28712 |
Description
QGIS crashes when I use a virtuallayer in a print-layout. It is possible to work in the project (create virtual layer, create the report with the vl, change some things, etc.. Storing and closing the project is ok, but opening again crashes QGIS.
Associated revisions
fixes #20893 : Update virtual layer when referenced layer update its fields
fixes #20893 : Update virtual layer when referenced layer update its fields
History
#1 Updated by Giovanni Manghi almost 6 years ago
- Priority changed from Normal to High
- Category changed from Virtual Layers to Map Composer/Printing
I'm not even able to open this project, crashes QGIS on start.
#2 Updated by Stephan Burges almost 6 years ago
- File Crash_2.zip added
Giovanni Manghi wrote:
I'm not even able to open this project, crashes QGIS on start.
Attached is a "cleaned" copy of the project and a hardcopy of the project opened with XML-Editor (Easy-XML-Editor). In the editor I have deleted the last layout (marked in the hardcopy). Without this layout you should be able to open the project...
Therefore the bug might be located in this section
#3 Updated by Julien Cabieces almost 6 years ago
- Assignee set to Julien Cabieces
- Pull Request or Patch supplied changed from No to Yes
The problem comes from the fact that your virtuallayer is based on a joined layer.
Proposed PR correcting the issue : https://github.com/qgis/QGIS/pull/8940
#4 Updated by Julien Cabieces almost 6 years ago
- % Done changed from 0 to 100
- Status changed from Open to Closed
Applied in changeset qgis|bdf77ac75a94ea37feaa3d7d015af57e0d9a7e1f.