Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: No image displayed when ImageResizeService throw an error - EXO-74337 #648

Merged
merged 1 commit into from
Sep 23, 2024

Commits on Sep 23, 2024

  1. fix: No image displayed when ImageResizeService throw an error - EXO-…

    …74337
    
    Before this fix, in some case, the ImageResizeService can throw an error.
    I add a unit test with a specifi jpeg image generating this error : the jpeg metadata have different format (EXIF, JFIF ...), and jdk default image reader only support EXIF and JFIF. When a jpeg image have a different metadata format, the ImageReaderService is not able to read it, and throws an error.
    This commit ensure that, in this case, the service return the original image instead of nothing
    
    Resolves Meeds-io/meeds#2418
    rdenarie committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    d942d2b View commit details
    Browse the repository at this point in the history