Skip to content

Skip empty images while copying a page #3545

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

Merged
merged 1 commit into from
Apr 7, 2023
Merged

Conversation

tijsverkoyen
Copy link
Member

Type

  • Non critical bugfix

Pull request description

Images with an empty src attribute need to be skipped as there is no image. Before this fix an exception was triggered as it was trying to copy the full directory.

Images with an empty src attribute need to be skipped as there is no image.
Before this fix an exception was triggered as it was trying to copy the full directory.
@codecov
Copy link

codecov bot commented Mar 1, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.01 ⚠️

Comparison is base (1b0d36c) 27.88% compared to head (eaf4dd5) 27.88%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3545      +/-   ##
============================================
- Coverage     27.88%   27.88%   -0.01%     
- Complexity     8151     8152       +1     
============================================
  Files           575      575              
  Lines         30714    30716       +2     
============================================
  Hits           8565     8565              
- Misses        22149    22151       +2     
Flag Coverage Δ
functional 23.79% <0.00%> (-0.01%) ⬇️
installer 3.84% <0.00%> (-0.01%) ⬇️
unit 7.69% <0.00%> (-0.01%) ⬇️

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

Impacted Files Coverage Δ
src/Backend/Modules/Pages/Actions/Add.php 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@carakas carakas merged commit 9ad5f69 into master Apr 7, 2023
@carakas carakas deleted the dont-copy-empty-images branch April 7, 2023 11:30
@carakas carakas added this to the 5.11.2 milestone Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants