Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
node system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Aug 2008 at 04:37 UTC
Updated:
13 Jan 2010 at 00:56 UTC
If you have a simple content type (title and body) and both fields are required, the system still checks them before deletion. So when a user clicks on delete, the system will give an error saying "required fields are missing/not enough words/etc...".
I am not sure if this was designed into the system, but it seems kind of clunky and doesn't seem to give the expected result to the user. IMHO, the desired result would be, regardless of node content (blank or not), the user should see the "Do you really want to delete x" page. If the user clicks "cancel" the user should be redirected back to the original edit page.
Comments
Comment #1
alex.k commentedBy the way going to
node/{nid}/deleteworks, since it does not submit the edit form.Comment #2
giorgoskThis is an awkward behavior indeed
Comment #3
bsherwood commentedUpdating for latest release and giving appropriate tag
Comment #4
layik commentedIt is the case here, too! has there been a fix? does it deserve a patch? thnx
Comment #5
bsherwood commentedNew features go into the development branch.
Comment #6
Emyr42 commentedIs this really a new feature? Validating stuff we're about to get rid of is a bug!
Comment #7
giorgoskWhy isn't this a bug ?
Comment #8
Emyr42 commentedComment #9
aren cambre commentedThis is a bug, but fix in 7.x first and backport.
Comment #10
sunThis is now possible due to #370537: Allow suppress of form errors (hack to make "more" buttons work properly)
Let's get this in!
Comment #11
gpk commentedDupe of #216064: Entity form "Delete" button triggers server-side + HTML5 form validation; change "Delete" button to a link.