Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regression: re-loading a project within the same session fails, removes all layers #24462

Closed
qgib opened this issue May 17, 2017 · 6 comments
Closed
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Project Regression Something which used to work, but doesn't anymore

Comments

@qgib
Copy link
Contributor

qgib commented May 17, 2017

Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)
Original Redmine Issue: 16560
Affected QGIS version: master
Redmine category:project_loading/saving


This regression occured within the last 24 hours (May 16-17, 2017). Re-loading a project (or loading a different project which shares same data sources as a currently opened project) within a same QGIS session fails to load layers, resulting in partial to totally blank project.

Steps to reproduce

  1. Open QGIS
  2. Load a project
  3. Without closing QGIS, re-load the same project
  4. Notice the absence of any layer, and the blank canvas :)

@qgib
Copy link
Contributor Author

qgib commented May 17, 2017

Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)


Closing, issue appears to either be localized, or not at all linked to the last 24-hour changes. I'll re-open if I figure out what's happening here.


  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented May 19, 2017

Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)


Re-opening, Matthias has been able to replicate regression.

I've made a small video showing the issue: https://www.youtube.com/watch?v=6freJLe06fk


  • status_id was changed from Closed to Reopened

@qgib
Copy link
Contributor Author

qgib commented May 19, 2017

Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)


Youtube decided the video was violating its community guidelines. Adding video as an attached mp4 here.


  • 10968 was configured as regression.mp4

@qgib
Copy link
Contributor Author

qgib commented May 19, 2017

Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)


Note: my initial estimated time of regression is wrong; I haven't been able to dissect a commit, but problem did emerge earlier than May 16.

@qgib
Copy link
Contributor Author

qgib commented May 21, 2017

Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)


git bisect spoke out:

fe677040f8c31d4f6fb73489d7fec531166293e3 is the first bad commit
commit fe677040f8c31d4f6fb73489d7fec531166293e3
Author: Nyall Dawson <nyall.dawson@gmail.com>
Date:   Fri May 5 21:27:37 2017 +1000

    Cleanup project closing
    
    - ensure that layers are removed when clearing projects
    - ensure that project is cleared before destruction

@qgib
Copy link
Contributor Author

qgib commented May 31, 2017

Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)


Applied in changeset 77cd7af.


  • done_ratio was changed from 0 to 100
  • status_id was changed from Reopened to Closed

@qgib qgib closed this as completed May 31, 2017
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Project Regression Something which used to work, but doesn't anymore labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Project Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

No branches or pull requests

1 participant