Translation import failures in AEM Guides
In AEM Guides, translated files fail to import when multiple status update requests occur simultaneously for the same translation project. Node locking errors cause some requests to fail, leaving the translation job incomplete or unsynchronized. To fix this issue, review the logs, coordinate with the connector vendor, and implement retry logic for failed requests.
Description description
Environment
Adobe Experience Manager (AEM) Guides (all versions)
Symptoms
- Translated files fail to import into AEM Guides.
- Translation job status remains incomplete or unsynchronized.
- AEM logs show errors indicating that a node is already locked.
Cause
Concurrent status update requests on the same translation project lead to node locking conflicts. When a node is already locked by one request, additional requests fail with a locking exception. If the failed request is not retried, the translation import process remains incomplete.
Resolution resolution
Follow the steps below to resolve the issue.
-
Review the AEM author logs for the affected translation project to confirm the presence of node locking errors during translation status updates.
-
Coordinate with your translation connector vendor to ensure that status update requests aren’t sent concurrently for the same translation project.
-
If you’re using a custom or third-party connector, implement retry logic for failed status update requests that receive a locking exception. The retry logic should:
- Detect node locking errors.
- Wait for a short interval before retrying the failed request.
- Retry the request a limited number of times until it succeeds or reaches the maximum retry count.
-
After updating the connector or implementing retry logic, reattempt the translation file import process.
-
Monitor the translation job status in AEM Guides to confirm that files are successfully imported and synchronized.