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 pasting unsaved changes as temporary scratch layers #60474

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

nyalldawson
Copy link
Collaborator

Alternative fix to #57985, which fixes the underlying issue.

I think these changes are too risky to merge for 3.42.0, so I propose holding them off till 3.44 (and temporarily including #57985 as a fix in the meantime)

@nyalldawson
Copy link
Collaborator Author

FYI @uclaros

@github-actions github-actions bot added this to the 3.42.0 milestone Feb 6, 2025
Copy link

github-actions bot commented Feb 6, 2025

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit b7223cf)

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit b7223cf)

@uclaros
Copy link
Contributor

uclaros commented Feb 6, 2025

Aha! This makes sense :)

Maybe also extend void TestQgisAppClipboard::copyPaste() to handle the unsaved edits state?

Instead of a string value of the default value clause (eg "Autonumber"),
initialize the attribute to a QgsUnsetValueAttribute

Refs qgis#38913
This provider check has non-standard default values set for the source table
@nyalldawson nyalldawson added the Frozen Feature freeze - Do not merge! label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frozen Feature freeze - Do not merge!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants