Abstract field - if too long characters get eaten

Niels Hackius - January 31, 2009 - 20:42
Project:Announcements
Version:6.x-1.2
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

If your abstract is longer than 255 characters it gets cut of upon being saved to the database.

Attached is a quick fix that sets an error.

However a better way might be to introduce a setting and to change the schema - on the other hand the might as well use a page then? Maybe the cut off part could rather be added to the full announcement.

AttachmentSize
announcements_abstract.patch639 bytes

#1

NancyDru - February 1, 2009 - 07:23
Status:needs review» fixed

How about if we just increase it to 2048 characters?

#2

Niels Hackius - February 1, 2009 - 11:00

Why 2048?

... and uhm there was a typo in the patch..oops.

AttachmentSize
attachment_typo.patch 658 bytes

#3

NancyDru - February 1, 2009 - 16:13

Well, the abstract is supposed to be "short." Do you not think 2048 (a nice power of 2) is long enough? I also added a note in the description that this is the limit.

#4

System Message - February 15, 2009 - 16:20
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.