Uploaded image for project: 'Content Translation Support'
  1. Content Translation Support
  2. MGNLCTS-116

Export not working if dialogs defined using UI6

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.2
    • Fix Version/s: 2.5
    • Labels:

      Description

      If you try to export  a translation in the Content translation app, regardless of the chosen format (excel, xliff, cvs, ..), and if the dialogs are defined with the Magnolia 6 UI framework, you get an error: "Export of translation file failed"

      This is not happening if the dialogs are defined using Magnolia 5 UI framework

      Steps to reproduce

      • Create a page in the pages app
      • Add a dialog defined using UI6, for example:
        form:
          properties:
            text:
              $type: textField
              label: Body
              defaultValue: testing
              rows: 5
              maxLength: 300
        
      • Go to the Content translation app, select the page and click on "Export translation"

      Expected results
      The file should be exported with no error
       
      Actual results
      The file is not exported and you get an error, find the full error attached.

      ERROR tion.ui.action.TranslationFileDownloadDialogAction: An error occurred when executing the command downloadTranslationFile from catalog translation
      java.lang.ClassCastException: info.magnolia.ui.dialog.ConfiguredFormDialogDefinition cannot be cast to info.magnolia.ui.dialog.definition.FormDialogDefinition

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                fgrilli Federico Grilli
                Reporter:
                tmiyar Teresa Miyar
                Votes:
                1 Vote for this issue
                Watchers:
                8 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 - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 13m
                      13m