Bug report #12823

Relative paths are broken in QGIS master and QGIS 2.8 nightly

Added by Andreas Neumann over 9 years ago. Updated almost 9 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:Jürgen Fischer
Category:-
Affected QGIS version:2.8.2 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:20919

Description

Project files with relative paths to raster files that are created in QGIS 2.6 or QGIS 2.8.2 cannot be opened in QGIS master or QGIS 2.8 nightly.

Furthermore, project files that are created with QGIS master and QGIS 2.8 nightly do not store file references to raster images as relative paths, but as absolute paths.

QGIS 2.8.2 is not affected - so it must be a commit in between the release of QGIS 2.8.2 and now. Perhaps it is 1e08bc0

This is a very serious bug that absolutely must be fixed before the release.

Associated revisions

Revision 47cb75dd
Added by Jürgen Fischer over 9 years ago

fix relative path support for gdal layers (fixes #12823)

Revision e2e8c870
Added by Jürgen Fischer over 9 years ago

also handle writing of relative paths (followup 47cb75d; fixes #12823)

Revision 11ebf213
Added by Jürgen Fischer over 9 years ago

fix relative path support for gdal layers (fixes #12823)
(merged 47cb75dd and e2e8c87)

History

#1 Updated by Andreas Neumann over 9 years ago

It seems that ogr vector data is not affected by the relative path problem. Only gdal raster sources.

#2 Updated by Jürgen Fischer over 9 years ago

  • Status changed from Open to Closed

#3 Updated by Giovanni Manghi over 9 years ago

  • Resolution set to fixed/implemented
  • Target version set to Version 2.10

#4 Updated by René-Luc ReLuc over 9 years ago

  • Status changed from Closed to Reopened

Not yet backported to 2.8

#5 Updated by Jürgen Fischer over 9 years ago

  • Status changed from Reopened to Closed

Also available in: Atom PDF