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(attachmentService, propfindErrorParse): add an error message for when a file is not compatible for windows #6303

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

GVodyanov
Copy link
Contributor

@GVodyanov GVodyanov added the 3. to review Waiting for reviews label Aug 29, 2024
@GVodyanov GVodyanov self-assigned this Aug 29, 2024
Copy link

codecov bot commented Aug 29, 2024

Codecov Report

Attention: Patch coverage is 0% with 15 lines in your changes missing coverage. Please review.

Project coverage is 23.73%. Comparing base (0b7f8dc) to head (d7288b0).
Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
src/utils/propfindErrorParse.js 0.00% 8 Missing ⚠️
src/services/attachmentService.js 0.00% 5 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #6303      +/-   ##
============================================
- Coverage     23.75%   23.73%   -0.03%     
  Complexity      454      454              
============================================
  Files           246      247       +1     
  Lines         11718    11731      +13     
  Branches       2220     2223       +3     
============================================
  Hits           2784     2784              
- Misses         8615     8627      +12     
- Partials        319      320       +1     
Flag Coverage Δ
javascript 15.33% <0.00%> (-0.03%) ⬇️
php 59.53% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@miaulalala miaulalala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

feat, not enh 😉

@ChristophWurst
Copy link
Member

This is a fix 🙊

This needs a backport too

…when a file is not compatible for windows

Signed-off-by: Grigory Vodyanov <scratchx@gmx.com>
@GVodyanov GVodyanov force-pushed the enh/add-windows-incompatible-error-message branch from 1826bfd to d7288b0 Compare September 2, 2024 08:52
@GVodyanov GVodyanov changed the title enh(attachmentService, propfindErrorParse): add an error message for when a file is not compatible for windows fix(attachmentService, propfindErrorParse): add an error message for when a file is not compatible for windows Sep 2, 2024
@GVodyanov
Copy link
Contributor Author

/backport to stable5.0

@backportbot backportbot bot added the backport-request A backport was requested for this pull request label Sep 2, 2024
@GVodyanov GVodyanov dismissed miaulalala’s stale review September 2, 2024 09:17

Changed commit message

@GVodyanov GVodyanov merged commit b4d0a91 into main Sep 2, 2024
33 of 35 checks passed
@GVodyanov GVodyanov deleted the enh/add-windows-incompatible-error-message branch September 2, 2024 09:18
@backportbot backportbot bot removed the backport-request A backport was requested for this pull request label Sep 2, 2024
@miaulalala
Copy link
Contributor

Does this need a backport to stable4.7 as well?

@ChristophWurst
Copy link
Member

No because nextcloud/server#44963 is for 30+


return messageElement?.textContent
} catch (parseError) {
console.error(t('spreed', 'Error while parsing a PROPFIND error'), parseError)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be sourced from calendar instead of spreed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows compatibiliy: upload a file with wrong filename
4 participants