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 sqlite errors on startup caused by default style database import logic #47070

Merged
merged 3 commits into from
Jan 31, 2022

Conversation

nyalldawson
Copy link
Collaborator

No description provided.

on SECOND launch of a new profile

We weren't creating the stylemetadata table after importing the initial
style database on first launch, so on the second launch we'd be
attempting reimport the style database and violate a bunch of unique
constraints.

Correctly create the stylemetadata table after the initial import to
avoid this.
Avoids an ambiguity in the style database update logic which forced
us to always attempt to reimport these ambiguous symbols, resulting
in sqlite errors due to violated name constraints
@github-actions github-actions bot added this to the 3.24.0 milestone Jan 31, 2022
@nyalldawson nyalldawson merged commit 02a911f into qgis:master Jan 31, 2022
@nyalldawson nyalldawson deleted the style_errors branch January 31, 2022 03:16
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.

None yet

2 participants