Bug report #14281
Embedding layers does not work
Status: | Closed | ||
---|---|---|---|
Priority: | Severe/Regression | ||
Assignee: | Hugo Mercier | ||
Category: | Project Loading/Saving | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 22275 |
Description
When embedding a simple layer from a project, I can select the layer I want to embed, but it does not show up in the legend or the canvas. There is no error message either.
This is a regression, since it worked in 2.12
Reproduce:- Create new project
- Create a memory layer
- Save the project as
TestForEmbedding.qgs
- Create new project
- Embed the layer from
TestForEmbedding.qgs
- Result
- Expected: The (empty) layer is shown in the legend
- Actual: Nothing
I attached a sample project so you can skip the first three steps.
Associated revisions
Fix DependencySorter.sortedLayerIds. Fixes #14281
History
#1 Updated by Sebastian Dietrich over 8 years ago
I bisected the bug to 7e5915ec793098a367667b8876dadd4ac825d66a.
#2 Updated by Hugo Mercier over 8 years ago
- Assignee set to hartmut-tschauner-gmail-com -
Thanks, I'll try to have a look soon
#3 Updated by Sebastian Dietrich over 8 years ago
- Assignee changed from hartmut-tschauner-gmail-com - to Hugo Mercier
@Hugo Mercier
Good. I think you mistakenly assigned somebody else here and re-assigned the issue to you. If that is not correct, please let me know or re-assign it again.
Good. I think you mistakenly assigned somebody else here and re-assigned the issue to you. If that is not correct, please let me know or re-assign it again.
#4 Updated by Hugo Mercier over 8 years ago
- Status changed from Open to Closed
Fixed in changeset 6bbe3b93a22a310754f55f739c6cef8b1043a902.