-
Notifications
You must be signed in to change notification settings - Fork 168
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
[full-ci] Restore files: Implement conflict dialog #7635
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
37025eb
to
4e8b057
Compare
Results for oC10Trashbin https://drone.owncloud.com/owncloud/web/28935/31/1 |
387863d
to
753c521
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to try it, but I always get an error on restoring files: TypeError: Cannot read properties of undefined (reading 'includes')
in this line: const overwrite = filesToOverwrite.includes(resource)
.
sorry that it didnt worked, im confused too as it did work before :O will look into it |
2cf8658
to
f66b469
Compare
The #1753 is not fixed by this, right? It still gives me an error. |
@JammingBen thats weird, i will look into it. But yes the bug ticket will be fixed by this PR. |
94e256a
to
0219618
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few more or less nitpicky comments
return [] | ||
}) | ||
} | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand if you don't want to port everything to the defaultComponentMocks, but you could mock the whole clientService like this:
$clientService: mockDeep<ClientService>(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesnt work 😬
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I doubt that it just doesn't work
👀 any specific reason why it doesn't work
?
packages/web-app-files/tests/unit/mixins/actions/restore.spec.js
Outdated
Show resolved
Hide resolved
247697f
to
97465d0
Compare
100b8b8
to
b754085
Compare
Path was built without a slash between parent path and file name
95049ca
to
ceaa124
Compare
faaeccc
to
27b90dc
Compare
Kudos, SonarCloud Quality Gate passed! |
Description
See #1753
Related Issue
Types of changes
Checklist: