Bug report #17924

Missing layouts when upgrading from 2.18 to 2.99

Added by Harrissou Santanna almost 7 years ago. Updated over 6 years ago.

Status:Closed
Priority:High
Assignee:Nyall Dawson
Category:Map Composer/Printing
Affected QGIS version:master Regression?:Yes
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:Yes Copied to github as #:25820

Description

I have a long run project, full of print composers over the years.
Willing to try the layouts capabilities in 2.99, I open this project in master. It happens that it does not return all the print composers I had in the project. (see screenshots)
Also attach the project file without data (not sure they are relevant here and not all data could be made public - let me know)

printcomposer218.PNG - All print composers created (2.6 MB) Harrissou Santanna, 2018-01-22 06:46 PM

layout299.PNG - Only list a few print composers (2.96 MB) Harrissou Santanna, 2018-01-22 06:47 PM

Cadrages.qgs (2.59 MB) Harrissou Santanna, 2018-01-22 06:56 PM

Associated revisions

Revision 6eed7dea
Added by Nyall Dawson almost 7 years ago

[layouts] Fix remaining composers are not restored after hitting
a composer which could not be added

Refs #17924

Revision b8880d46
Added by Nyall Dawson almost 7 years ago

[layouts] Handle duplicated composer names when upgrading 2.x
projects

Somehow 2.x projects could end up with compositions with duplicate
names. This is strictly forbidden in 3.x, so we autogenerate a
new unique name if we encounter any duplicate composer names when
upgrading a 2.x project.

Fixes #17924

History

#1 Updated by Nyall Dawson almost 7 years ago

  • Regression? changed from No to Yes

#2 Updated by Nyall Dawson almost 7 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

#3 Updated by Harrissou Santanna almost 7 years ago

Thanks Nyall. Got them all and more :-)

#4 Updated by Giovanni Manghi over 6 years ago

  • Resolution set to fixed/implemented

Also available in: Atom PDF