Skip to content

Conversation

@rullzer
Copy link
Member

@rullzer rullzer commented Jan 24, 2018

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 [email protected]

* 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 <[email protected]>
@rullzer rullzer added this to the Nextcloud 13 milestone Jan 24, 2018
@rullzer rullzer changed the title [stable12] If the preview is size 0 it is invalid [stable13] If the preview is size 0 it is invalid Jan 24, 2018
@MorrisJobke MorrisJobke mentioned this pull request Jan 24, 2018
5 tasks
@MorrisJobke MorrisJobke merged commit a0f62b7 into stable13 Jan 24, 2018
@MorrisJobke MorrisJobke deleted the 7986_12 branch January 24, 2018 15:41
@codecov
Copy link

codecov bot commented Jan 24, 2018

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 Files Coverage Δ 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 free to 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.

4 participants