Steps to reproduce:

1. Add 2 redirect form (/admin/config/search/redirect)

/node/1 to /node/2
/node/3 to /node/4

2. Edit 2nd redirect and open in new tab.
3. Delete 2nd redirect in newly opened tab.
4. Visit previous old tab where we have created 2 redirect.
5. SelectAll redirect and try to delete , fatal error will occur

Comments

Hardik_Patel_12 created an issue. See original summary.

hardik_patel_12’s picture

StatusFileSize
new632 bytes

Kindly apply a new patch

hardik_patel_12’s picture

Assigned: hardik_patel_12 » Unassigned
Status: Needs work » Needs review
snehalgaikwad’s picture

Status: Needs review » Needs work

I tried this patch, but it is not working. After following the process given in the description, I am still getting an error. Also in return statement, 's' in FALSE should be in the capital.

swatichouhan012’s picture

Assigned: Unassigned » swatichouhan012

I am assigning this issue to me.

hardik_patel_12’s picture

Error is coming from views module now error: Call to a member function getEntityType() on null in Drupal\views\Plugin\views\field\BulkForm->viewsFormSubmit() (line 414 of /Applications/MAMP/htdocs/drupal-8.9/core/modules/views/src/Plugin/views/field/BulkForm.php)

swatichouhan012’s picture

Assigned: swatichouhan012 » Unassigned
Status: Needs work » Needs review
StatusFileSize
new343 bytes
new632 bytes

@Hardik_Patel_12 you are right issue is coming from core , this same issue in core i am sharing issue ticket here https://www.drupal.org/project/drupal/issues/3105972

This patch is not applied yet in core test the above issue along with core patch..

i am attaching patch to correct "FALSE" key work.