Skip to content

[stable13] If the preview is size 0 it is invalid - #8030

Merged
MorrisJobke merged 1 commit into
stable13from
7986_12
Jan 24, 2018
Merged

[stable13] If the preview is size 0 it is invalid#8030
MorrisJobke merged 1 commit into
stable13from
7986_12

Conversation

@rullzer

Copy link
Copy Markdown
Member

backport of #7986

  • delete it
  • throw a NotFound Exception
    • This should a proper 404 to the user
    • Next time it is then regenerated

Signed-off-by: Roeland Jago Douma roeland@famdouma.nl

* delete it
* throw a NotFound Exception
- This should a proper 404 to the user
- Next time it is then regenerated
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@rullzerrullzer added this to the Nextcloud 13 milestone Jan 24, 2018
@rullzerrullzer changed the title [stable12] If the preview is size 0 it is invalid[stable13] If the preview is size 0 it is invalidJan 24, 2018
@MorrisJobkeMorrisJobke mentioned this pull request Jan 24, 2018
5 tasks
@MorrisJobke
MorrisJobke merged commit a0f62b7 into stable13Jan 24, 2018
@MorrisJobke
MorrisJobke deleted the 7986_12 branch January 24, 2018 15:41
@codecov

codecovBot commented Jan 24, 2018

Copy link
Copy Markdown

Codecov Report

Merging #8030 into stable13 will increase coverage by 0.16%.
The diff coverage is n/a.

@@ Coverage Diff @@## stable13 #8030 +/- ##
=============================================
+ Coverage 51.23% 51.4% +0.16% + Complexity 24976 24975 -1 
=============================================
Files 1607 1599 -8 Lines 95034 94709 -325 Branches 1376 1376 =============================================
- Hits 48691 48681 -10 + Misses 46343 46028 -315
Impacted FilesCoverage ΔComplexity Δ
apps/files_trashbin/ajax/isEmpty.php
apps/files_external/templates/list.php
.../Contacts/ContactsMenu/Providers/EMailProvider.php
lib/private/Files/Node/NonExistingFile.php
lib/private/Repair/NC13/RepairInvalidPaths.php
lib/public/AutoloadNotAllowedException.php
...ps/dav/lib/CalDAV/Search/Xml/Filter/PropFilter.php
lib/private/Share/SearchResultSorter.php
apps/dav/appinfo/v1/carddav.php
lib/public/SystemTag/TagNotFoundException.php
... and 3195 more

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@rullzer@nickvergessen@MorrisJobke