Download & Extend

Abstract field - if too long characters get eaten

Project:Announcements
Version:6.x-1.2
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#1

Status:needs review» fixed

How about if we just increase it to 2048 characters?

#2

Why 2048?

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

AttachmentSize
attachment_typo.patch 658 bytes

#3

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

Status:fixed» closed (fixed)

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