Increase event description limit

The main problem for me is that when a user adds an event description, there is a silent failure. When description holds > 1000 characters, the event database record does not seem to be created. The text is still in the topic within the [event] block, but the event itself is not visible anywhere to users.

I have to notice this happened and go into the topic post to move the description outside of the event block.

I see at discourse/plugins/discourse-events/app/models/discourse_post_event/event.rb at 2ad5c29a2cda0513086295c0601cb7524ad5d87f · discourse/discourse · GitHub the description is validated, and it seems simple enough to update MAX_DESCRIPTION_LENGTH, but frankly don’t know ruby/discourse well enough to add a database migration, and don’t want my version to diverge from the standard in any case (though maybe it’s possible to make this migration with a plugin?).

It seems like this field could be migrated to TEXT rather than STRING(1000) to eliminate this issue (ref discourse/plugins/discourse-events/db/migrate/20250616101945_add_description_to_event.rb at main · discourse/discourse · GitHub ) but I see there are currently 282 pull requests outstanding.

2 Likes