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

Fix root file parsing issue #2881

Merged
merged 1 commit into from
Oct 10, 2021
Merged

Fix root file parsing issue #2881

merged 1 commit into from
Oct 10, 2021

Conversation

TranceLove
Copy link
Collaborator

@TranceLove TranceLove commented Oct 8, 2021

Description

By unclamping the flags between retryWithLs and force legacy file listing option in preferences, so it becomes clearer which flag should be sent to parseFileName() instead - that is, the latter one.

Issue tracker

Fixes #2746

Automatic tests

  • Added test cases

Manual tests

After applying the changeset, no matter the legacy list file option is enabled or not, listing files using root shall never crash the app.

Build tasks success

Successfully running following tasks on local:

  • ./gradlew assembledebug
  • ./gradlew spotlessCheck

@TranceLove TranceLove added Issue-Bug Related unexpected behavior or something worth investigating. Issue-Severe (high) Showstopper issues that require immediate attention Area-Navigation Related to navigation labels Oct 8, 2021
@TranceLove
Copy link
Collaborator Author

build test apk

@EmmanuelMess
Copy link
Member

Please add a test for this.

Fixes #2746, by unclamping the flags between retryWithLs and force legacy file listing option in preferences.

Simple test case included to ensure no crash and line parsing can be run without error.
VishalNehra
VishalNehra previously approved these changes Oct 10, 2021
@VishalNehra VishalNehra changed the base branch from hotfix/3.6.3 to hotfix/3.6.4 October 10, 2021 08:54
@VishalNehra VishalNehra dismissed their stale review October 10, 2021 08:54

The base branch was changed.

@VishalNehra VishalNehra merged commit eda0c47 into hotfix/3.6.4 Oct 10, 2021
@TranceLove TranceLove deleted the bugfix/2746 branch April 14, 2022 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Navigation Related to navigation Issue-Bug Related unexpected behavior or something worth investigating. Issue-Severe (high) Showstopper issues that require immediate attention
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants