Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #6322

Closed
Open
Created Feb 14, 2014 by Administrator@rootOwner

Submit new issue returns error 500

Created by: zeelax

Creating new issue with commit id '6318080738e900fdc317aed92d1155283ba07569' inserted in text returns 500. Log says:

Processing by Projects::IssuesController#update as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"D7pMdDCUnD5/RE9LAruS1qVbI5UnaqNMdwksicDgeho=", "issue"=>{"title"=>"Ещё иссуе с обманом ;)", "assignee_id"=>"1", "milestone_id"=>"", "label_list"=>"bug", "description"=>"6318080738e900fdc317aed92d1155283ba07569"}, "project_id"=>"main/kolesa", "id"=>"844"}
Mysql2::Error: Out of range value for column 'noteable_id' at row 1: INSERT INTO `notes` (`author_id`, `commit_id`, `created_at`, `note`, `noteable_id`, `noteable_type`, `project_id`, `st_diff`, `system`, `updated_at`) VALUES (1, '6318080738e900fdc317aed92d1155283ba07569', '2014-02-14 05:58:57', '_mentioned in issue #844_', 6318080738, 'Commit', 13, NULL, 1, '2014-02-14 05:58:57')
Completed 500 Internal Server Error in 374ms

ActiveRecord::StatementInvalid (Mysql2::Error: Out of range value for column 'noteable_id' at row 1: INSERT INTO `notes` (`author_id`, `commit_id`, `created_at`, `note`, `noteable_id`, `noteable_type`, `project_id`, `st_diff`, `system`, `updated_at`) VALUES (1, '6318080738e900fdc317aed92d1155283ba07569', '2014-02-14 05:58:57', '_mentioned in issue #844_', 6318080738, 'Commit', 13, NULL, 1, '2014-02-14 05:58:57')):
  app/models/note.rb:74:in `create_cross_reference_note'
  app/models/concerns/mentionable.rb:74:in `block in create_cross_references!'
  app/models/concerns/mentionable.rb:73:in `each'
  app/models/concerns/mentionable.rb:73:in `create_cross_references!'
  app/models/concerns/mentionable.rb:94:in `notice_added_references'
  app/observers/issue_observer.rb:24:in `after_update'
  app/controllers/projects/issues_controller.rb:76:in `update'
  app/controllers/application_controller.rb:57:in `set_current_user_for_thread'
Assignee
Assign to
Time tracking