Uploaded image for project: 'DAM Focal'
  1. DAM Focal
  2. RESPDAM-19

OutputFormat formatName gets replaced with default jpg

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 1.1.4
    • Fix Version/s: 1.1.6
    • Labels:
      None
    • Sprint:
      Sprint 5

      Description

      info.magnolia.dam.imaging.responsive.ui.imaging.ResponsiveImageOperationChain

      The class checks for file extension after the output format is created and uses the node, given by the ParameterProvider. The Node is the asset node, but the extension is located in the jcr:content node beneath the asset node.

      Is it intended, that the OutputFormat formatName gets replaced regardless of the provided parameters?
      You're already using
      info.magnolia.dam.imaging.responsive.ui.imaging.parameters.ResponsiveImageParameter#getFormatName
      which uses the substring after the last dot in the node name.

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                amanzoni Adrien Manzoni
                Reporter:
                fbading Fabian Bading
                Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Checklists

                    Bug DoR
                    DoD