Drupal\Core\Entity\EntityFormController::actions() creates a delete button for entity forms, but clicking does not prevent form validation from being executed. This causes both HTML5 and server-side validation to run, preventing the user from being redirected to the delete page if not form elements are filled out correctly.

CommentFileSizeAuthor
#3 drupal_1970342_01.patch1.46 KBXano
#1 drupal_1970342_00.patch602 bytesXano
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Xano’s picture

Status: Active » Needs review
FileSize
602 bytes

Status: Needs review » Needs work

The last submitted patch, drupal_1970342_00.patch, failed testing.

Xano’s picture

Status: Needs work » Needs review
FileSize
1.46 KB

Contains a fix for the not fully ported taxonomy vocabulary form.

dcam’s picture

Xano’s picture

Assigned: Xano » Unassigned