Project

General

Profile

Shared sprint could not assigned sub project.

Added by KiWon Kim almost 8 years ago

I create sprint in base project
then assign sub-project
I got an error under.

I try to create issue and assign were same error.

I, [2017-02-09T10:52:57.457460 #10448]  INFO -- : Completed 500 Internal Server Error in 85ms (ActiveRecord: 30.0ms)
F, [2017-02-09T10:52:57.462461 #10448] FATAL -- : 
NoMethodError (undefined method `>' for nil:NilClass):
  plugins/scrum/lib/scrum/issue_patch.rb:407:in `block in max_position'
  plugins/scrum/lib/scrum/issue_patch.rb:406:in `each'
  plugins/scrum/lib/scrum/issue_patch.rb:406:in `max_position'
  plugins/scrum/lib/scrum/issue_patch.rb:419:in `move_issue_to_the_end_of_the_sprint'
  plugins/scrum/lib/scrum/issue_patch.rb:336:in `update_position'
  app/models/issue.rb:210:in `create_or_update'
  app/controllers/issues_controller.rb:140:in `create'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

I, [2017-02-09T10:52:57.477465 #10448]  INFO -- : Started GET "/redmine/issues.json?assigned_to_id=3&limit=50" for 192.168.254.254 at 2017-02-09 10:52:57 +0900
I, [2017-02-09T10:52:57.477465 #10448]  INFO -- : Processing by IssuesController#index as JSON

and my environments.

Environment:
  Redmine version                3.3.0.stable
  Ruby version                   2.3.0-p0 (2015-12-25) [i386-mingw32]
  Rails version                  4.2.6
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.9.4
  Git                            2.9.0
  Filesystem                     
Redmine plugins:
  author                         0.1.0
  clipboard_image_paste          1.10
  contact_form                   0.1.2
  download                       0.1.1
  extended_fields                0.2.4
  extended_profile               1.2.1
  like                           1.0.0
  meta                           0.2.3
  redmine_add_top_menus          0.0.1
  redmine_agile                  1.4.2
  redmine_banner                 0.1.1
  redmine_checklists             3.1.3
  redmine_ckeditor               1.1.4
  redmine_code_review            0.7.0
  redmine_information            1.0.2
  redmine_lightbox2              0.2.5
  redmine_my_page                0.1.9
  redmine_per_project_formatting 0.0.4
  redmine_pull_requests          0.3
  redmine_query_share            2.0.1
  redmine_theme_changer          0.2.0
  redmine_wiki_extensions        0.7.0
  redmine_wiki_lists             0.0.6
  scrum                          0.16.2
  scrum2b                        2.0