Download & Extend

Custom block body field should be required

Project:Drupal core
Version:7.x-dev
Component:block.module
Category:task
Priority:critical
Assigned:Xano
Status:closed (fixed)
Issue tags:Quick fix, UBUserTesting2009, Usability

Issue Summary

When you create a custom block, neither the title nor the body are required, only the description. Blocks without content don't show up - which means you can put the empty block in a region, and there's no indication of why it's not there.

Identified at UB Usability Testing: http://www.drupalusability.org/node/160

Comments

#1

Status:active» needs review
AttachmentSizeStatusTest resultOperations
block_body_required_00.patch991 bytesIdlePassed: 10605 passes, 0 fails, 0 exceptionsView details

#2

Related to #402662: Block validation allows empty title and body, it might make sense to merge these 2 issues.

#3

Status:needs review» reviewed & tested by the community
Issue tags:+Quick fix

Reviewed the patch and found no problems. I've read the handbook pages on Blocks to make sure they don't talk about custom blocks without body content (which they don't), and I don't see a valid reason for having a custom block without body content, therefor RTBC...

#4

Status:reviewed & tested by the community» fixed

Makes sense to me! :)

Committed to HEAD. Thanks!

#5

Status:fixed» closed (fixed)

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

nobody click here