Bug report #18714

QGIS crashes when opening a project having joined layers with spaces in names

Added by Nikolay Lebedev over 6 years ago.

Status:Open
Priority:Normal
Assignee:Matthias Kuhn
Category:Relations
Affected QGIS version:3.0.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:26601

Description

Steps to reproduce:
Add two layers to the project.
Add a space in layer name for one layer (i.e. "my layer").
Join this layer to another one, so that join has a space in it's name.
Save and close the project, open again - boom.

Should be an easy fix with using layer id's etc. instead of names with spaces.

Also available in: Atom PDF