Univention Bugzilla – Bug 54769
jpegPhoto syntax has no error message anymore but throws exception
Last modified: 2022-06-08 16:50:32 CEST
git:2d1c7a160c0bc6628748ead5e0b4771a646ae788 added a `raise` statement to the `jpegPhoto` syntax class: except (KeyError, IOError, IndexError): ud.debug(ud.ADMIN, ud.WARN, 'Failed to convert PNG file into JPEG: %s' % (traceback.format_exc(),)) + raise raise univention.admin.uexceptions.valueError(_('Failed to convert PNG file into JPEG format.')
The raise line has been removed again. univention-directory-manager-modules.yaml fb5e60b895ba | Bug #54769: fix exception handling of jpegPhoto syntax class univention-directory-manager-modules (15.0.11-48) fb5e60b895ba | Bug #54769: fix exception handling of jpegPhoto syntax class
OK: code changes OK: yaml / package build OK: Validation message is shown instead of traceback -> verified
<https://errata.software-univention.de/#/?erratum=5.0x335>