-
Bug
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
-
Empty show more show less
-
Magnolia Marketing (MGNLMARKETING)
When Michi executing translation via extended content translation app for:
issue occurs both on PROD and on DEV, on DEV it could be replicated on this page:
Â
page is /corp-website/platform (export: website.corp-website.platform.yaml) this page as a 1 component 'comparison table' inside main area. component itself consist from multiple areas (columns and cells) and dialog on a cell area seems to be causing the issue.Â
Definition of dialog for cell area:
label: Comparison table cell form:  properties:   type:    $type: switchableField    label: Type    field:     $type: radioButtonGroupField     layout: horizontal     datasource:      $type: optionListDatasource      options:       - name: headline        value: headline       - name: text        value: text    itemProvider:     $type: jcrChildNodeProvider    forms:     - name: headline      properties:       headline:        $type: textField        label: Headline        i18n: true        rows: 3     - name: text      properties:       abc:        $type: richTextField        label: Text        i18n: true footerLayout:  $type: defaultEditorActionLayout  primaryActions:   commit: commit   cancel: cancel
In page editor this dialog is working correctly, also seems fine according to documentation. but when submitting batch for translation it fails with this error:
when removing dialog from cell area in definition, or just removing all its fields does solve the issue, but then comparison table will not get translated.
Â
Error in log:
2023-07-25 14:22:25,577 2023-07-25 16:22:25,546 INFO info.magnolia.module.scheduler.CommandJob : Starting job [UI Action triggered execution of [workflowTranslation:exportTranslationCommand] by user [mschneider]. (0)]... 2023-07-25 14:22:26,081 2023-07-25 16:22:26,060 ERROR info.magnolia.commands.MgnlCommand : Execution is error, update to translation task item {} 2023-07-25 14:22:26,081info.magnolia.translation.ext.core.exception.CommandException: An exception occurred while creating the translation submission 2023-07-25 14:22:26,081 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.createSubmissionItem(ExportTranslationCommand.java:282) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,081 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.processResourceNodes(ExportTranslationCommand.java:180) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,081 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.generateTranslationSubmission(ExportTranslationCommand.java:157) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,081 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.executeOnItem(ExportTranslationCommand.java:129) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,081 at info.magnolia.translation.ext.core.command.AbstractTranslationCommand.execute(AbstractTranslationCommand.java:71) [magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,081 at info.magnolia.commands.MgnlCommand.executeSynchronized(MgnlCommand.java:80) [magnolia-core-6.2.36.jar:?] 2023-07-25 14:22:26,081 at info.magnolia.commands.MgnlCommand.execute(MgnlCommand.java:69) [magnolia-core-6.2.36.jar:?] 2023-07-25 14:22:26,081 at info.magnolia.module.scheduler.CommandJob.execute(CommandJob.java:110) [magnolia-module-scheduler-2.3.6.jar:?] 2023-07-25 14:22:26,081 at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.3.2.jar:?] 2023-07-25 14:22:26,081 at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.3.2.jar:?] 2023-07-25 14:22:26,081Caused by: java.lang.NullPointerException 2023-07-25 14:22:26,081 at java.util.concurrent.ConcurrentHashMap.get(Unknown Source) ~[?:?] 2023-07-25 14:22:26,082 at info.magnolia.config.registry.RegistryMap.getByStringKey(RegistryMap.java:79) ~[magnolia-configuration-6.2.36.jar:?] 2023-07-25 14:22:26,082 at info.magnolia.config.registry.AbstractRegistry.getProvider(AbstractRegistry.java:125) ~[magnolia-configuration-6.2.36.jar:?] 2023-07-25 14:22:26,082 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.getAreasFromRegistry(ExportTranslationCommand.java:565) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,082 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.getDialogNameByArea(ExportTranslationCommand.java:526) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,082 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.determineDialogName(ExportTranslationCommand.java:504) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,082 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.getPropertyFieldWebsite(ExportTranslationCommand.java:429) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,082 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.getMaxLengthFromBatch(ExportTranslationCommand.java:411) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,082 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.getMaxLength(ExportTranslationCommand.java:391) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,082 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.exportDocument(ExportTranslationCommand.java:354) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,082 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.createSubmissionItem(ExportTranslationCommand.java:274) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,082 ... 9 more 2023-07-25 14:22:26,082 2023-07-25 16:22:26,060 ERROR info.magnolia.module.scheduler.CommandJob : Cannot execute command [exportTranslationCommand] for job [UI Action triggered execution of [workflowTranslation:exportTranslationCommand] by user [mschneider]. (0)] in catalog [workflowTranslation] 2023-07-25 14:22:26,331 2023-07-25 16:22:26,179 ERROR ext.core.app.batch.action.SubmitBatchCommandAction: SubmitBatchCommandAction is error {} 2023-07-25 14:22:26,331info.magnolia.translation.ext.core.exception.CommandException: An exception occurred while creating the translation submission 2023-07-25 14:22:26,331 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.createSubmissionItem(ExportTranslationCommand.java:282) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,331 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.processResourceNodes(ExportTranslationCommand.java:180) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,331 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.generateTranslationSubmission(ExportTranslationCommand.java:157) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,331 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.executeOnItem(ExportTranslationCommand.java:129) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,331 at info.magnolia.translation.ext.core.command.AbstractTranslationCommand.execute(AbstractTranslationCommand.java:71) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,331 at info.magnolia.commands.MgnlCommand.executeSynchronized(MgnlCommand.java:80) ~[magnolia-core-6.2.36.jar:?] 2023-07-25 14:22:26,331 at info.magnolia.commands.MgnlCommand.execute(MgnlCommand.java:69) ~[magnolia-core-6.2.36.jar:?] 2023-07-25 14:22:26,331 at info.magnolia.module.scheduler.CommandJob.execute(CommandJob.java:110) ~[magnolia-module-scheduler-2.3.6.jar:?] 2023-07-25 14:22:26,331 at org.quartz.core.JobRunShell.run(JobRunShell.java:202) ~[quartz-2.3.2.jar:?] 2023-07-25 14:22:26,331 at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) ~[quartz-2.3.2.jar:?] 2023-07-25 14:22:26,331Caused by: java.lang.NullPointerException 2023-07-25 14:22:26,331 at java.util.concurrent.ConcurrentHashMap.get(Unknown Source) ~[?:?] 2023-07-25 14:22:26,333 at info.magnolia.config.registry.RegistryMap.getByStringKey(RegistryMap.java:79) ~[magnolia-configuration-6.2.36.jar:?] 2023-07-25 14:22:26,333 at info.magnolia.config.registry.AbstractRegistry.getProvider(AbstractRegistry.java:125) ~[magnolia-configuration-6.2.36.jar:?] 2023-07-25 14:22:26,333 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.getAreasFromRegistry(ExportTranslationCommand.java:565) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,333 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.getDialogNameByArea(ExportTranslationCommand.java:526) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,333 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.determineDialogName(ExportTranslationCommand.java:504) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,333 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.getPropertyFieldWebsite(ExportTranslationCommand.java:429) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,333 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.getMaxLengthFromBatch(ExportTranslationCommand.java:411) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,333 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.getMaxLength(ExportTranslationCommand.java:391) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,333 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.exportDocument(ExportTranslationCommand.java:354) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,333 at info.magnolia.translation.ext.core.command.ExportTranslationCommand.createSubmissionItem(ExportTranslationCommand.java:274) ~[magnolia-content-translation-support-ext-core-3.4.7.jar:?] 2023-07-25 14:22:26,333 ... 9 more