You are here

cms_content_sync_sync_health_pull.html.twig in CMS Content Sync 2.0.x

Template file for the show usage modal.

File

modules/cms_content_sync_health/templates/cms_content_sync_sync_health_pull.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Template file for the show usage modal.
  5. */
  6. #}
  7. <h2>
  8. {{ 'Failed pulls'|trans }}
  9. </h2>
  10. <h3>{{ 'Hard failures'|trans }}</h3>
  11. {% if pull_failures_hard.total %}
  12. <div class="messages messages--error">
  13. There were errors pulling {{ pull_failures_hard.total }} entities:
  14. <ul>
  15. {% if pull_failures_hard.different_version %}
  16. <li>{{ pull_failures_hard.different_version }} times the version was different, i.e. the entity type definition from the source is different to our local definition.</li>
  17. {% endif %}
  18. {% if pull_failures_hard.sync_error %}
  19. <li>{{ pull_failures_hard.sync_error }} times the Content Sync module threw an unexpected error.</li>
  20. {% endif %}
  21. {% if pull_failures_hard.internal_error %}
  22. <li>{{ pull_failures_hard.internal_error }} times the Drupal API or other contrib modules threw an unexpected error.</li>
  23. {% endif %}
  24. </ul>
  25. </div>
  26. {% else %}
  27. <div class="messages messages--status">
  28. No hard failures.
  29. </div>
  30. {% endif %}
  31. <h3>{{ 'Soft failures'|trans }}</h3>
  32. {% if pull_failures_soft.total %}
  33. <div class="messages messages--warning">
  34. Pulling {{ pull_failures_soft.total }} entities has been ignored as configured:
  35. <ul>
  36. {% if pull_failures_soft.handler_denied %}
  37. <li>{{ pull_failures_soft.handler_denied }} times the handler was configured to explicitly ignore this entity (e.g. it's not published).</li>
  38. {% endif %}
  39. {% if pull_failures_soft.no_flow %}
  40. <li>{{ pull_failures_soft.no_flow }} times there was no Flow configured to accept the entity.</li>
  41. {% endif %}
  42. {% if pull_failures_soft.unknown_pool %}
  43. <li>{{ pull_failures_soft.unknown_pool }} times the remote Pool didn't exist locally anymore.</li>
  44. {% endif %}
  45. </ul>
  46. You can ignore this information unless you're trying to figure out why a specific entity has not been pulled.
  47. </div>
  48. {% else %}
  49. <div class="messages messages--status">
  50. No soft failures.
  51. </div>
  52. {% endif %}