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

i18n Fields cannot be saved properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.1.6
    • 1.1.4
    • None
    • None

      Magnolia DX Version: 6.1.1
      Dam Responsive-Image Version: 1.1.4

       

      How to reproduce:
      Upload an image in the assets-app. Before saving switch language. e.g. from english to german.

      FocalAreasFieldTransformer throws an java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long in line 62. Thus i18n-fields like title, description ... are not saved except in the default language.

      dam-images-responsive configuration:

      'config':
          jcr:primaryType: 'mgnl:content'
          'variationSets':
              'dam':
                  'cubic':
                     'minHeight': '2000'
                     'minWidth': '2000'
                     'ratio': '1/1'
         'editorConfig':
            'maxHeight': '1080'
            'maxWidth': '1920'

       

       

        Acceptance criteria

              amanzoni Adrien Manzoni
              tpeintner Thomas Peintner
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 1h
                    1h