Skip to content

trying to type too long subtitle gives assert #829

@elad-eyal

Description

@elad-eyal

trying to type too long subtitle (in cfp edit page) gives the following assertion

An ActiveRecord::ValueTooLong occurred in events#update:


  PG::StringDataRightTruncation: ERROR:  value too long for type character varying(255)
: UPDATE "events" SET "title" = $1, "subtitle" = $2, "abstract" = $3, "updated_at" = $4 WHERE "events"."id" = $5
  app/controllers/cfp/events_controller.rb:61:in `block in update'


The user only sees "something went wrong."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions