- Issue created by @Kristen Pol
- πΊπΈUnited States Kristen Pol Santa Cruz, CA, USA
The code is updated so that
Seed::seedNode()
uses the translated entity in two areas, so that the correct entity data is available, e.g., published status:- quant_cron_cron
- NodeItem::send
To test the first, we need to use cron like:
- Do not sync upon content edit
- Translate a node and make it published
- Look in Quant and the content will be missing
- Run cron and it will show up in the dashboard
- Repeat with the translation as unpublished and you won't see the content in dashboard after running cron
- Change the quant settings to sync unpublished content and run cron again and then it will show up in the dashboard
- πΊπΈUnited States Kristen Pol Santa Cruz, CA, USA
The PR needs to be updated based on my comments in GitHub
- πΊπΈUnited States Kristen Pol Santa Cruz, CA, USA
On D11, when testing without the changes, the unpublished translation doesn't get pushed over, but this error shows up in the logs:
Path: /af/node/12. Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException: in Drupal\Core\Routing\AccessAwareRouter->checkAccess() (line 115 of /var/www/html/web/core/lib/Drupal/Core/Routing/AccessAwareRouter.php).
- πΊπΈUnited States Kristen Pol Santa Cruz, CA, USA
I tested on D11 with translated unpublished taxonomy term without the patch and the term was pushed to quant.
- πΊπΈUnited States Kristen Pol Santa Cruz, CA, USA
Tested on D10 on 1.x branch and one thing I noticed (which is probably still an issue for D11/2.x too)... if you have it set to push unpublished content, you don't get it because that setting isn't being honored in this code. But that's a separate bug, so we can handle it separately
- πΊπΈUnited States Kristen Pol Santa Cruz, CA, USA
This has been merged for both 1.x and 2.x