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

i18n Fields cannot be saved properly

    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

      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'

       

       

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Date of First Response:

                    Checklists

                    Bug DoR
                    DoD

                      Time Tracking

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