There is supposed to be a warning above the "Delete aliases now!" button -- this warning does not appear in D7 or D8. The warning reads:

Note: there is no confirmation. Be sure of your action before clicking the "Delete aliases now!" button.
You may want to make a backup of the database and/or the url_alias table prior to using this feature.

The warning message is already present in the code, it’s just not calling the form api correctly to display it.

Some background here:
https://www.drupal.org/project/pathauto/issues/256298#comment-3253406

Comments

daniel.nitsche created an issue. See original summary.

daniel.nitsche’s picture

This patch should restore the warning in D8.

daniel.nitsche’s picture

This patch should restore the warning in D7.

bandanasharma’s picture

Status: Active » Needs review
StatusFileSize
new67.2 KB

#2 patch for drupal 8 is apply cleanly. UI changes reflect on admin/config/search/path/delete_bulk page. Attached the after patch screen shot.

daniel.nitsche’s picture

Issue summary: View changes
akshay kashyap’s picture

StatusFileSize
new7.89 KB

#2 patch applied successfully and working fine for 8.x-1.x-dev version.

akshay kashyap’s picture

Status: Needs review » Reviewed & tested by the community
berdir’s picture

Status: Reviewed & tested by the community » Needs work

Won't apply anymore.

idebr’s picture

Status: Needs work » Needs review
StatusFileSize
new1.4 KB

Reroll against 8.x-1.x after #3029311: Use short array syntax was committed.

berdir’s picture

Status: Needs review » Fixed

Thanks.

  • Berdir committed 7325915 on 8.x-1.x authored by idebr
    Issue #2967617 by daniel.nitsche, idebr, Akshay kashyap, bandanasharma:...
berdir’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.