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

Workaround vector layer type rename in QGIS 3.30 #643

Merged
merged 1 commit into from
May 8, 2023

Conversation

suricactus
Copy link
Collaborator

Calling QgsVectorLayer().type().name QGIS 3.30.x returns "Vector", while previous versions return "VectorLayer"

Related issue: qgis/QGIS#53023

Fixes regression introduced in #637 .

@suricactus suricactus added bug Something isn't working patch Requires patch version change labels May 5, 2023
Calling `QgsVectorLayer().type().name` QGIS 3.30.x returns "Vector", while previous versions return "VectorLayer"

Related issue: qgis/QGIS#53023
@nirvn
Copy link
Member

nirvn commented May 6, 2023

Hm, is that worth raising in QGIS itself? Looks like a broken python API promise that shouldn't happen until QGIS 4.0.

@m-kuhn
Copy link
Member

m-kuhn commented May 6, 2023

Hm, is that worth raising in QGIS itself? Looks like a broken python API promise that shouldn't happen until QGIS 4.0.

See

Related issue: qgis/QGIS#53023

@suricactus
Copy link
Collaborator Author

I am merging this despite the new failing tests, as they were broken a few PRs ago.

@suricactus suricactus merged commit 69b4f44 into master May 8, 2023
2 of 4 checks passed
@suricactus suricactus deleted the fix_qgis_3_30_regression branch May 8, 2023 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working patch Requires patch version change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants