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

TWW plugin does not update service file when switching between projects #541

Open
cymed opened this issue Feb 3, 2025 · 0 comments
Open
Labels
bug Something isn't working plugin Concerns the wastewater plugin

Comments

@cymed
Copy link
Contributor

cymed commented Feb 3, 2025

Describe the bug
When opening a project from within QGIS, the database utils are not updated (only on plugin startup).

To Reproduce
Exact steps to reproduce the behavior:

  1. Open a TWW qgs project
  2. Switch to a second project via Project - Open - qgs patch pointing to a different pg_service
  3. Try an INTERLIS export
  4. Check file - it is the one from the first pg_service

Expected behavior
When switching projects, the database utils are re-loaded and (if it is not a TWW project), the plugin functionalities are disabled.

Screenshots / data
If applicable, add screenshots or data to help explain your problem.

Desktop (please complete the following information):

  • TWW version: 2024.0.5
  • QGIS Version: 3.34.11
  • OS: Windows

Additional context
Potentially linked to #505

@cymed cymed added bug Something isn't working plugin Concerns the wastewater plugin labels Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working plugin Concerns the wastewater plugin
Projects
None yet
Development

No branches or pull requests

1 participant