Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-2661

Errorneous logo mime type extraction does not lead to exception being thrown

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0
    • Component/s: backend
    • Labels:
      None

      Description

      • given:
        • I adjust the Optimize logo
      • when:
        • the mime type of the logo can't be extracted
      • then:
        • the logo base64 data url is wrong, since it's missing the mime type and thus the logo can't be displayed in the front-end
      • expected:
        • on Optimize startup it is also checked if the mime type of the logo can be extracted and is a valid html image tag mime tag and in case it's not valid, an error is thrown

      Hint:
      This problem came up because the logo path couldn't be resolved on Omran's machine, since the mime type extraction doesn't resolve the path.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            johannes.heinemann Johannes Heinemann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: