Comments

rajghai created an issue. See original summary.

vikramsaini1609’s picture

@rajgai. I was facing the same issue. I have fixed the issue and also added a line in error message to take care multilingual site.

rajghai’s picture

Status: Active » Needs review
ashraf.hussain’s picture

Updating the patch to be compatible with 2.0.0

ashraf.hussain’s picture

The previous patch has been updated to validate values like 'node/123' in the link field. Previously, it was only validating values in the link field that were referenced like 'Node title (123)'."

ashraf.hussain’s picture

Updating the patch to not validate when saving unpublished nodes.

ashraf.hussain’s picture

StatusFileSize
new10.08 KB

Fixed an issue in previous patch where media was incorrectly giving validation if a node has redirect where id is same for media and node id.

Solution: Build possible stored URI formats based on the actual target entity type.

ashraf.hussain’s picture

Fixing indentation from previous patch

ashraf.hussain’s picture

StatusFileSize
new10.58 KB

Adding a code to skip non-fieldable entities like node types on getDependentIdsFromLink and hasDependentsFromLinks as it gives fatal error.

ashraf.hussain’s picture

Updating the patch to fix return type.

ashraf.hussain’s picture

StatusFileSize
new10.28 KB

Updating the patch to get the validation error on redirect on unpublished page.

ashraf.hussain’s picture

StatusFileSize
new11.1 KB

Updating to patch to take care of the below scenario
1. If a node is unpublished and it has a redirect, when we edit and save the unpublished node, it should not give validation error for redirect.
2. If a node is unpublished and it has a redirect, when we delete the page, it should give validation error for redirect.

ashraf.hussain’s picture

We can use this version if we no longer want to enforce redirect integrity checks during node unpublish or delete operations.