Skip to content

Don't put User model into ConflictsResolveActivity account extra#5857

Merged
tobiasKaminsky merged 1 commit into
masterfrom
ezaquarii/fix-broken-account-extra-in-conflicts-resolve-activity
Apr 14, 2020
Merged

Don't put User model into ConflictsResolveActivity account extra#5857
tobiasKaminsky merged 1 commit into
masterfrom
ezaquarii/fix-broken-account-extra-in-conflicts-resolve-activity

Conversation

@ezaquarii

@ezaquarii ezaquarii commented Apr 12, 2020

Copy link
Copy Markdown
Collaborator

User model has been put into Intent instead of Account,
causing a crash. Convert User into Account before setting
extras parameters.

Fixes #5849

Signed-off-by: Chris Narkiewicz hello@ezaquarii.com

Testing

  • Tests written, or not not needed

User model has been put into Intent instead of Account,
causing a crash. Convert User into Account before setting
extras parameters.

Fixes #5849

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
@ezaquarii

Copy link
Copy Markdown
Collaborator Author

@tobiasKaminsky @AndyScherzinger This is a trivial fix and should be merged ASAP.

@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/13502.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

Unit test failed, but no output was generated. Maybe a preliminary stage failed.

@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

Codacy

383

Lint

TypemasterPR
Warnings9494
Errors11

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings26
Correctness Warnings70
Internationalization Warnings11
Malicious code vulnerability Warnings5
Multithreaded correctness Warnings9
Performance Warnings77
Security Warnings44
Dodgy code Warnings141
Total383

SpotBugs (master)

Warning TypeNumber
Bad practice Warnings26
Correctness Warnings70
Internationalization Warnings11
Malicious code vulnerability Warnings5
Multithreaded correctness Warnings9
Performance Warnings77
Security Warnings44
Dodgy code Warnings141
Total383

@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

@tobiasKaminsky

Copy link
Copy Markdown
Member

/backport to stable-3.11

@tobiasKaminsky
tobiasKaminsky merged commit cac0fc7 into master Apr 14, 2020
@delete-merged-branch
delete-merged-branch Bot deleted the ezaquarii/fix-broken-account-extra-in-conflicts-resolve-activity branch April 14, 2020 07:13
@backportbot-nextcloud

Copy link
Copy Markdown

The backport to stable-3.11 failed. Please do this backport manually.

@AndyScherzinger AndyScherzinger added this to the Nextcloud App 3.12.0 milestone Apr 14, 2020
@ezaquarii
ezaquarii restored the ezaquarii/fix-broken-account-extra-in-conflicts-resolve-activity branch April 15, 2020 22:28
@tobiasKaminsky
tobiasKaminsky deleted the ezaquarii/fix-broken-account-extra-in-conflicts-resolve-activity branch April 16, 2020 21:32
@ezaquarii ezaquarii mentioned this pull request May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

android client crash when open local markdown file

4 participants