Custom block body field should be required

Xano - March 13, 2009 - 19:09
Project:Drupal
Version:7.x-dev
Component:block.module
Category:task
Priority:critical
Assigned:Xano
Status:closed
Issue tags:Quick fix, UBUserTesting2009, Usability
Description

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

#1

Xano - March 13, 2009 - 19:24
Status:active» needs review
AttachmentSizeStatusTest resultOperations
block_body_required_00.patch991 bytesIdlePassed: 10605 passes, 0 fails, 0 exceptionsView details | Re-test

#2

mr.baileys - March 16, 2009 - 10:53

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

#3

mr.baileys - March 16, 2009 - 16:02
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

webchick - March 17, 2009 - 03:42
Status:reviewed & tested by the community» fixed

Makes sense to me! :)

Committed to HEAD. Thanks!

#5

System Message - March 31, 2009 - 03:50
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.