Skip to content

FlatpakBackend: Handle transaction success state correctly#1730

Merged
danirabbit merged 1 commit into
masterfrom
transaction-done-handling
Oct 28, 2021
Merged

FlatpakBackend: Handle transaction success state correctly#1730
danirabbit merged 1 commit into
masterfrom
transaction-done-handling

Conversation

@davidmhewitt
Copy link
Copy Markdown
Member

I'm not sure if this fixes any known bugs we have, but I spotted this when I was trying to debug the Flatpak updates crashing thing.

A transaction is made up of multiple operations, so just because one finished, it doesn't mean the whole transaction succeeded.

This probably sort of worked because errors are handled separately and success = false is set in those cases. But this simplifies things and makes more sense.

@danirabbit danirabbit merged commit 7a7b8c2 into master Oct 28, 2021
@danirabbit danirabbit deleted the transaction-done-handling branch October 28, 2021 21:21
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.

2 participants