The above patch is not getting applied due to line number mismatch. Recreating it.
The code should have indentation or line gap as in the previous version for code clarity.
- The issue was reproducible on Drupal 10.2.3 with Google Analytics 4.0.2
- The patch applied successfully and issue is resolved. This is good to go.
Updated the condition to check if the path is valid using path.validator service and then proceed. If the path is invalid show "not a valid path" message. Moving it for ahead for Review.
The block is visible and working for both drupal 9.5.5 (php 8.1 and ckeditor 5) as well as Drupal 10.2.3.
No Change required this can be closed.
Getting the below error on running the update :
entity_clone module
Update fix_corrupt_paragraph_parent_ids
Failed: Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal9.paragraphs_library_item__paragraphs' doesn't exist: SELECT "parent"."entity_id" AS "host_id", "parent"."paragraphs_target_id" AS "target_id", "parent"."paragraphs_target_revision_id" AS "rev_id" FROM "paragraphs_library_item__paragraphs" "parent" INNER JOIN "paragraphs_item_field_data" "paragraph" ON parent.paragraphs_target_id = paragraph.id AND parent.paragraphs_target_revision_id = paragraph.revision_id AND parent.entity_id <> paragraph.parent_id; Array ( ) in entity_clone_post_update_fix_corrupt_paragraph_parent_ids() (line 54 of /app/web/modules/contrib/entity_clone/entity_clone.post_update.php).
shreyal999 → created an issue.