Skip to content

Conversation

@tobiasKaminsky
Copy link
Member

Fix #4502

OCFiles can be retrieved also by photo search, which then do not have a parent, nor a fileId as the are only virtual files

upon refreshing folder

  • they were found in database, but only updated with fileId=-1.
  • they were not found in parent folder, so we have to search them manually via file path

Signed-off-by: tobiasKaminsky tobias@kaminsky.me

… a parent, nor a fileId as the are only virtual files

upon refreshing folder
- they were found in database, but only updated with fileId=-1.
- they were not found in parent folder, so we have to search them manually via file path

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
@tobiasKaminsky
Copy link
Member Author

/backport to stable-3.8

@nextcloud-android-bot
Copy link
Collaborator

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/11191.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
Collaborator

Codacy

275

Lint

TypemasterPR
Warnings5959
Errors00

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings27
Correctness Warnings69
Internationalization Warnings12
Malicious code vulnerability Warnings4
Multithreaded correctness Warnings9
Performance Warnings120
Security Warnings47
Dodgy code Warnings139
Total427

SpotBugs (master)

Warning TypeNumber
Bad practice Warnings27
Correctness Warnings69
Internationalization Warnings12
Malicious code vulnerability Warnings4
Multithreaded correctness Warnings9
Performance Warnings120
Security Warnings47
Dodgy code Warnings139
Total427

@codecov
Copy link

codecov bot commented Oct 10, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@3e44472). Click here to learn what that means.
The diff coverage is 66.66%.

@@            Coverage Diff            @@
##             master    #4647   +/-   ##
=========================================
  Coverage          ?   17.27%           
  Complexity        ?        3           
=========================================
  Files             ?      373           
  Lines             ?    32124           
  Branches          ?     4556           
=========================================
  Hits              ?     5548           
  Misses            ?    25675           
  Partials          ?      901
Impacted Files Coverage Δ Complexity Δ
...oud/android/operations/RefreshFolderOperation.java 56.95% <100%> (ø) 0 <0> (?)
...loud/android/datamodel/FileDataStorageManager.java 36.54% <50%> (ø) 0 <0> (?)

@AndyScherzinger AndyScherzinger added this to the Nextcloud App 3.9.0 milestone Oct 10, 2019
@AndyScherzinger AndyScherzinger merged commit af7bf9b into master Oct 10, 2019
@delete-merged-branch delete-merged-branch bot deleted the fixVanishingImages branch October 10, 2019 11:56
@backportbot-nextcloud
Copy link

backport to stable-3.8 in #4651

tobiasKaminsky added a commit that referenced this pull request Oct 11, 2019
bfacbee Merge pull request #4630 from nextcloud/releaseProcess
fe07963 add imfo about hotfix and security fix releases
f1cf050 Merge pull request #4626 from nextcloud/removeCustomEdit
af7bf9b Merge pull request #4647 from nextcloud/fixVanishingImages
4a9c7c8 Merge pull request #4648 from nextcloud/fixRelativePath
a2f2da9 move logic completely into function prevent double subfolders
73fc5e4 OCFiles can be retrieved also by photo search, which then do not have a parent, nor a fileId as the are only virtual files upon refreshing folder - they were found in database, but only updated with fileId=-1. - they were not found in parent folder, so we have to search them manually via file path
cf74da7 - remove CustomEditTextField - do not use fancy material header for textInput, but regular TextView - do not show QR button on legacy login - fix layout in tablet mode
3e44472 daily dev 20191010
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.

Directory contents empty in app while web frontend shows file

4 participants