Skip to content

Bug: Crash when extracting a folder to a OneDrive folder (Business or personal) #15550

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

Closed
CAPSLOOCK opened this issue Jun 4, 2024 · 5 comments · Fixed by #15553
Closed

Bug: Crash when extracting a folder to a OneDrive folder (Business or personal) #15550

CAPSLOOCK opened this issue Jun 4, 2024 · 5 comments · Fixed by #15553
Labels
crash Bug reports involving a crash

Comments

@CAPSLOOCK
Copy link

CAPSLOOCK commented Jun 4, 2024

Description

The app crash systematically when extracting a folder from download to a folder in a OneDrive folder (personal or Business)

Steps To Reproduce

  1. Open files app
  2. extract a full folder that you downloaded in a OneDrive folder
  3. See the crash

Requirements

  • Fix crash that occurs when extracting a folder to a folder in OneDrive

Files Version

3.4.4.0

Windows Version

26120.751 (24H2)

Log File

debug.log

@CAPSLOOCK CAPSLOOCK added the bug label Jun 4, 2024
@yaira2 yaira2 added the crash Bug reports involving a crash label Jun 4, 2024
@yaira2 yaira2 moved this from 🆕 New to 🔖 Ready to build in Files task board Jun 4, 2024
@yaira2 yaira2 changed the title Crash when extracting a folder to a OneDrive for Business folder Bug: Crash when extracting a folder to a OneDrive for Business folder Jun 4, 2024
@yaira2
Copy link
Member

yaira2 commented Jun 4, 2024

Thank you for the report, is this also an issue in v3.4.1 (stable)?

@CAPSLOOCK
Copy link
Author

CAPSLOOCK commented Jun 4, 2024

@yaira2 nope, just tested with everything being the same, it's all good. Also note, this also happens with personal OneDrive.

@CAPSLOOCK CAPSLOOCK changed the title Bug: Crash when extracting a folder to a OneDrive for Business folder Bug: Crash when extracting a folder to a OneDrive folder (Business or personal) Jun 4, 2024
@yaira2
Copy link
Member

yaira2 commented Jun 4, 2024

System.InvalidCastException: Unable to cast object of type 'Files.App.Utils.Storage.SystemStorageFolder' to type 'Windows.Storage.StorageFolder'.

I think this is related to the changes in #15341. @hishitetsu didn't you recently fix a similar issue?

@hishitetsu
Copy link
Member

@hishitetsu didn't you recently fix a similar issue?

I can't remember.

@yaira2
Copy link
Member

yaira2 commented Jun 5, 2024

@CAPSLOOCK Thank you for bringing this to our attention, a fix will be included in the next preview build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash Bug reports involving a crash
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants