- Issue created by @lpeidro
- Merge request !353529676: add the debug settings and fix the issue with the default language being processed twice β (Merged) created by lpeidro
- πͺπΈSpain lpeidro Madrid
We have added a new field in the module settings to enable debug logs during the process.
The debug log collects data about the nodes being processed and the number of links associated with each.We also fixed the issue that caused the default language to be analyzed twice.
To address this, we created a new method, createBasicSourceFromEntity, which instantiates the source object from an entity without setting the targets.
Additionally, we refactored the existing createSourceFromEntity method into an abstract method responsible for creating the source object and setting the targets.
How to test:
- Enable the debug mode in the module settings.
- Run the mesh processing.
- Check the watchdog logs to confirm that nodes in the default language are not processed twice.
- πͺπΈSpain eduardo morales alberti Spain, πͺπΊ
RTBC!! We tested it using the debug configuration, and now it only processes the saved translation once (not the default language). Take into account that the process entity is called from the node save, so it will take as reference the language of the saved node, not the default translation.
-
lpeidro β
committed 3f1a6347 on 1.x
Issue #3529676: Fix coding standard
-
lpeidro β
committed 3f1a6347 on 1.x