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

Accssing a folder that doesn't have a lvl2Dir linked to the dir.c9r should show an specific error message #447

Open
2 tasks done
SailReal opened this issue May 25, 2022 · 1 comment
Labels
type:bug Something isn't working
Milestone

Comments

@SailReal
Copy link
Member

Please agree to the following

Summary

Currently accessing a folder for which the linked lvl2Dir doesn't exists fails with an general error toast but should show an specific error

System Setup

- Android: X
- Cryptomator: 1.7.5

Cloud Type

No response

Steps to Reproduce

  1. Delete the lvl2Dir of a folder
  2. Try to access the folder

Expected Behavior

An understandable error message is displayed

Actual Behavior

A general error message is displayed

Reproducibility

Always

Relevant Log Output

org.cryptomator.debug E/ExceptionHandler: 		java.lang.IllegalArgumentException: Failed to determine if primary:Vaults/asdf/d/EA/VXYO2XV6JL5FP76JHX7GNPGH3AYCO2 is child of primary:Vaults: java.io.FileNotFoundException: Missing file for primary:Vaults/asdf/d/EA/VXYO2XV6JL5FP76JHX7GNPGH3AYCO2 at /storage/emulated/0/Vaults/asdf/d/EA/VXYO2XV6JL5FP76JHX7GNPGH3AYCO2
        at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:172)
        at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)
        at android.content.ContentProviderProxy.query(ContentProviderNative.java:481)
        at android.content.ContentResolver.query(ContentResolver.java:1219)
        at android.content.ContentResolver.query(ContentResolver.java:1151)
        at android.content.ContentResolver.query(ContentResolver.java:1107)
        at org.cryptomator.data.cloud.local.LocalStorageAccessFrameworkImpl.list(LocalStorageAccessFrameworkImpl.kt:170)
        at org.cryptomator.data.cloud.local.LocalStorageAccessFrameworkContentRepository.list(LocalStorageAccessFrameworkContentRepository.kt:54)
        at org.cryptomator.data.cloud.local.LocalStorageAccessFrameworkContentRepository.list(LocalStorageAccessFrameworkContentRepository.kt:18)
        at org.cryptomator.data.repository.DispatchingCloudContentRepository.list(DispatchingCloudContentRepository.kt:103)
        at org.cryptomator.data.cloud.crypto.CryptoImplVaultFormat7.list(CryptoImplVaultFormat7.kt:151)
        at org.cryptomator.data.cloud.crypto.CryptoCloudContentRepository.list(CryptoCloudContentRepository.kt:58)
        at org.cryptomator.data.cloud.crypto.CryptoCloudContentRepository.list(CryptoCloudContentRepository.kt:21)
        at org.cryptomator.data.repository.DispatchingCloudContentRepository.list(DispatchingCloudContentRepository.kt:103)
        at org.cryptomator.domain.usecases.cloud.GetCloudList.execute(GetCloudList.java:24)
        at org.cryptomator.domain.usecases.cloud.GetCloudListUseCase$Launcher$2.call(GetCloudListUseCase.java:92)
        at org.cryptomator.domain.usecases.cloud.GetCloudListUseCase$Launcher$2.call(GetCloudListUseCase.java:86)
        at io.reactivex.internal.operators.flowable.FlowableFromCallable.subscribeActual(FlowableFromCallable.java:39)
        at io.reactivex.Flowable.subscribe(Flowable.java:14935)
        at io.reactivex.Flowable.subscribe(Flowable.java:14882)
        at io.reactivex.internal.operators.flowable.FlowableSubscribeOn$SubscribeOnSubscriber.run(FlowableSubscribeOn.java:82)
        at io.reactivex.internal.schedulers.ExecutorScheduler$ExecutorWorker$BooleanRunnable.run(ExecutorScheduler.java:288)
        at io.reactivex.internal.schedulers.ExecutorScheduler$ExecutorWorker.run(ExecutorScheduler.java:253)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:920)
    
    		ErrorCode: JI27:FBHQ

Anything else?

Must be checked for each cloud

@SailReal SailReal added the type:bug Something isn't working label May 25, 2022
@github-actions

This comment was marked as outdated.

@github-actions github-actions bot added the state:stale Issues without any activity that will be closed automatically label May 26, 2023
@SailReal SailReal added this to the Backlog milestone May 26, 2023
@SailReal SailReal removed the state:stale Issues without any activity that will be closed automatically label May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant