Page MenuHomePhabricator

Raise a more tailored exception if transform/thumbnail support is missing for cover images
ClosedPublic

Authored by epriestley on Mar 26 2019, 9:24 PM.
Tags
None
Referenced Files
F13177152: D20328.diff
Wed, May 8, 7:30 PM
Unknown Object (File)
Thu, May 2, 4:57 PM
Unknown Object (File)
Thu, Apr 11, 7:27 AM
Unknown Object (File)
Apr 1 2024, 10:49 PM
Unknown Object (File)
Mar 28 2024, 7:45 PM
Unknown Object (File)
Feb 6 2024, 1:31 AM
Unknown Object (File)
Dec 26 2023, 1:59 AM
Unknown Object (File)
Dec 22 2023, 8:04 PM
Subscribers
None

Details

Summary

If "GD" doesn't support a particular image type, applying a cover image currently goes through but no-ops. Fail it earlier in the process with a more specific error.

Test Plan

Without PNG support locally, dropped a PNG onto a card on a workboard. Got a more useful error.

Diff Detail

Repository
rP Phabricator
Branch
cover1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 22392
Build 30634: Run Core Tests
Build 30633: arc lint + arc unit