Skip to content

Newest F-Droid beta crashes app when opening instant upload #361

@cwmke

Description

@cwmke

Actual behaviour

After upgrading to the latest beta, a message pops up stating instant uploads has been revamped. After clicking the open button, the app crashes. Selecting instant uploads from the slide-out menu continues to crash the app.

Expected behaviour

After selecting open button, the user should be taken to the new instant uploads menu.

Steps to reproduce

  1. Open the latest F-droid beta.
  2. Select instant uploads from the slide out menu.
  3. App crashes

Environment data

Android version: 7.0

Device model: Nexus 6p angler

Stock or customized system: customized, Copperhead OS

Nextcloud app version: F-droid Nextcloud beta 20161026

Nextcloud server version: 10.0.1 (stable)

Logs

Web server error log

** CAUSE OF ERROR **

android.database.sqlite.SQLiteException: near "s": syntax error (code 1): , while compiling: SELECT _data FROM images WHERE (_data LIKE '/storage/emulated/0/<PATH TO FILE>/%') ORDER BY datetaken DESC LIMIT 8
    at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:179)
    at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
    at android.content.ContentProviderProxy.query(ContentProviderNative.java:421)
    at android.content.ContentResolver.query(ContentResolver.java:530)
    at android.content.ContentResolver.query(ContentResolver.java:472)
    at com.owncloud.android.datamodel.MediaProvider.getMediaFolders(MediaProvider.java:79)
    at com.owncloud.android.ui.activity.FolderSyncActivity$1.run(FolderSyncActivity.java:130)
    at java.lang.Thread.run(Thread.java:761)

** DEVICE INFORMATION *
Brand: Android
Device: angler
Model: Nexus 6P
Id: NBD90Z
Product: aosp_angler

** FIRMWARE **
SDK: 24
Release: 7.0
Incremental: 2016.10.21.23.10.25

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions