Bug report #11109
Project path for embedded groups/layers saved in absolute instead of relative
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | - | ||
Category: | Project Loading/Saving | ||
Affected QGIS version: | 2.4.0 | Regression?: | No |
Operating System: | Ubuntu | Easy fix?: | No |
Pull Request or Patch supplied: | Yes | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 19439 |
Description
To reproduce :
- Create a "parent" project
- add some groups, sub-groups and layers
- save
- create a "son" project
- embed layers or groups from the "parent" project
- save son project
The path to the parent project is saved as absolute, and not relative.
This is a nasty bug wich prevents users to use embedded groups and layers in QGIS Server.
See 2 examples projects "son" and "parent" attached with example data.
I am using QGIS 2.4 under Ubuntu, but users reported the same issue with Windows.
Associated revisions
History
#1 Updated by Michael Douchin over 10 years ago
- Pull Request or Patch supplied changed from No to Yes
Pull request proposed : https://github.com/qgis/QGIS/pull/1566
#2 Updated by Martin Dobias over 10 years ago
- Status changed from Open to Closed
Fixed in changeset 4a675734581448869f65a8304a9e11a731fccecb.
#3 Updated by Martin Dobias over 10 years ago
- Status changed from Closed to In Progress
Added Michael to the list of contributors (cded7c)
#4 Updated by Martin Dobias over 10 years ago
- Status changed from In Progress to Closed