N°5588 - Improve PDF export robustness when AttributeImage dimensions cannot be determined (#350)

Can happen for example on SVG images
Now the export won't crash anymore, and we'll get a log (export channel, warning level) with  the object and attribute causing a problem as context

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>
This commit is contained in:
Pierre Goiffon
2023-02-23 11:45:29 +01:00
committed by GitHub
parent cac7e94a67
commit 822922df5c
2 changed files with 46 additions and 14 deletions

View File

@@ -549,6 +549,12 @@ class LogChannels
const DEADLOCK = 'DeadLock';
/**
* @var string
* @since 2.7.9
*/
const EXPORT = 'export';
const INLINE_IMAGE = 'InlineImage';
/**