Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Development
  1. OpenProject
  2. Forums
  3. Development
  4. [solved] Error adding work package

[solved] Error adding work package

Added by jason southwell about 11 years ago

One of my users received an error page after saving a new work package she was adding. She received an email stating that it was created but it is nowhere to be found in the system.

Looking through the logs, the error reported seems to be:

ActiveRecord::StatementInvalid (PG::Error: ERROR:  value too long for type character varying(255)
: INSERT INTO "customizable_journals" ("custom_field_id", "journal_id", "value") VALUES ($1, $2, $3) RETURNING "id"):
  lib/plugins/acts_as_journalized/lib/redmine/acts/journalized/save_hooks.rb:71:in `block in save_journals'
  lib/plugins/acts_as_journalized/lib/redmine/acts/journalized/save_hooks.rb:71:in `each'
  lib/plugins/acts_as_journalized/lib/redmine/acts/journalized/save_hooks.rb:71:in `save_journals'
  app/controllers/work_packages_controller.rb:143:in `create'

The only field that had any significant length was the description of the work package.

Any ideas what might have gone wrong? I told her to reenter the task but I’d like to track down the core of the problem.


Replies (4)

RE: Error adding work package - Added by jason southwell about 11 years ago

This just happened to me as well. I think the problem is when entering long text into a custom memo field. It is a very irritating bug since you basically lose the last 30 minutes of text that you were typing into a work package.

I’m going to open a bug package.

RE: Error adding work package - Added by Jens Ulferts about 11 years ago

This should be solved in OP 3.0.1

RE: Error adding work package - Added by jason southwell about 11 years ago

I upgraded to dev this week and confirmed the fix. Thanks.

RE: [solved] Error adding work package - Added by Jens Ulferts about 11 years ago

Thanks for letting us know.

  • (1 - 4/4)
Loading...