Project

General

Profile

Defect #1451

Unable to edit User Stories with custom fields

Added by Vito Marolda about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
Sprint board
Target version:
Source:
Development
Detected on version:
Blocked:
No
Alone:
No
Milestones:
Sprint:

Description

Since latest update commit 70425e86e885ea79bc572220bde89d648d66ec58 the pop-up for editing a user story does not show.

log follows.

Started GET "/scrum/861/edit_pbi" for 192.168.1.95 at 2017-09-28 09:45:20 +0200
Processing by ScrumController#edit_pbi as JS
  Parameters: {"pbi_id"=>"861"}
  Current user: v.marolda (id=3)
  Rendered plugins/scrum/app/views/scrum/_issue_attributes.html.erb (37.5ms)
  Rendered plugins/scrum/app/views/scrum/_edit_issue_attributes.html.erb (38.2ms)
  Rendered plugins/scrum/app/views/scrum/_edit_pbi_modal.html.erb (57.0ms)
  Rendered plugins/scrum/app/views/scrum/edit_pbi.js.erb (57.3ms)
Completed 500 Internal Server Error in 78ms (ActiveRecord: 7.6ms)

ActionView::Template::Error (undefined method `is_required' for 1:Fixnum):
  plugins/scrum/lib/scrum/tracker_patch.rb:50:in `custom_field?'
  plugins/scrum/lib/scrum/issue_patch.rb:286:in `custom_field?'
  plugins/scrum/app/views/scrum/_issue_attributes.html.erb:79:in `block in _plugins_scrum_app_views_scrum__issue_attributes_html_erb__4155322713663259168_70197084288340'
  plugins/scrum/app/views/scrum/_issue_attributes.html.erb:78:in `each'
  plugins/scrum/app/views/scrum/_issue_attributes.html.erb:78:in `_plugins_scrum_app_views_scrum__issue_attributes_html_erb__4155322713663259168_70197084288340'
  plugins/scrum/app/views/scrum/_edit_issue_attributes.html.erb:1:in `_plugins_scrum_app_views_scrum__edit_issue_attributes_html_erb__3548460365206614896_70197084233860'
  plugins/scrum/app/views/scrum/_edit_pbi_modal.html.erb:50:in `block in _plugins_scrum_app_views_scrum__edit_pbi_modal_html_erb__688799043420598124_70197083996980'
  app/helpers/application_helper.rb:1051:in `labelled_form_for'
  plugins/scrum/app/views/scrum/_edit_pbi_modal.html.erb:45:in `_plugins_scrum_app_views_scrum__edit_pbi_modal_html_erb__688799043420598124_70197083996980'
  plugins/scrum/app/views/scrum/edit_pbi.js.erb:1:in `_plugins_scrum_app_views_scrum_edit_pbi_js_erb__4343127595629768367_70197083889740'
  plugins/scrum/app/controllers/scrum_controller.rb:150:in `edit_pbi'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'


Subtasks

To do #1456: Fix problem with PBI & task editionResolvedEmilio González MontañaActions
To do #1457: Fix custom fields edition & renderingResolvedEmilio González MontañaActions
#1

Updated by Emilio González Montaña about 7 years ago

  • Sprint set to Sprint 36
  • Target version set to Scrum v0.18.0
#3

Updated by Emilio González Montaña about 7 years ago

  • Status changed from In progress to Resolved

Also available in: Atom PDF