Unable to Translate Topics from AEM Guide: Missing Elements Node in jcr
Hello All,
I’m facing an issue when attempting to send Topics created in AEM Guide for translation. Here’s a breakdown of the situation and the errors encountered, along with some observations:
Issue Summary:
When trying to translate Topics created directly in AEM Guide, the workflow fails, producing errors related to missing nodes and XML processing. Specifically, the Elements node is absent in the jcr:content of these Topics, which might be impacting the translation workflow.
Error Details:
During the translation process, these are some of the errors I’m seeing:
1. Error Loading Destination Language:
com.day.cq.dam.commons.util.DamLanguageUtil Failed to load destination language from payload
2. XML Processing Error:
com.adobe.fmdita.exception.ApplicationException: Failed to process XMLNode with path
/content/dam/projects/translation_output/.../Training.dita/jcr:content/elements does not exist.
This `PathNotFoundException` suggests that the translation job is looking for an `elements` node that isn’t present in `jcr:content`.
Observations:
- When I create Topics directly in AEM Guide, the Elements node is missing from jcr:content in CRX de.
- Other content types or translated assets seem to include this node by default, which makes me suspect it’s required for the translation workflow (e.g., MergeXML) to process successfully.
Steps Taken:
- I checked the source and target paths in the repository to confirm that other nodes are intact.
- Manually adding the `Elements` node resolves part of the issue, suggesting this node may be necessary.
- Reviewed workflow and translation job configurations, and they appear to be set up as expected.
Questions:
1. Is the Elements node mandatory in jcr:content for Topics to translate successfully in AEM Guide?
2. Has anyone encountered similar issues when translating Topics, and if so, what solutions or configurations worked for you?
3. Are there best practices to ensure the `Elements` node is automatically included for Topics created in AEM Guide?
Any insights, advice, or similar experiences would be much appreciated! Thank you in advance for your help.