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

Fix issues with database URL checks #230

Merged
merged 1 commit into from
Oct 28, 2024
Merged

Conversation

soininen
Copy link
Contributor

@soininen soininen commented Oct 28, 2024

This PR fixes numerous issues around having a Data store with invalid URL.

Fixes spine-tools/Spine-Toolbox#2930

Checklist before merging

  • Documentation (also in Toolbox repo) is up-to-date
  • Release notes in Toolbox repo have been updated
  • Unit tests have been added/updated accordingly
  • Code has been formatted by black & isort
  • Unit tests pass

Data stores now get notified about dirty databases by a Qt signal
in DB mngr simplifying the notification process considerably.
This also fixes numerous issues stemming from the need to create
a database mapping for the database before we actually check
if the URL is OK.

Re spine-tools/Spine-Toolbox#2930
@soininen soininen force-pushed the 2930_fix_ds_db_check branch from 4e20f63 to 895cea5 Compare October 28, 2024 12:59
@soininen soininen merged commit 8045742 into master Oct 28, 2024
0 of 8 checks passed
@soininen soininen deleted the 2930_fix_ds_db_check branch October 28, 2024 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Changing data store path (in Data Store Properties) creates empty file for each edited letter
1 participant