Actions
Bug #826
closedBug #824: it's not working
Fix NoMethodError in CustomFieldCalclulator#grouped_fields
Start date:
Due date:
% Done:
100%
Estimated time:
Affected Version:
Compatible Redmine Version:
Pull Request Link:
Description
Started POST "/redmine/projects/sgs/issues" for 127.0.0.1 at 2022-04-25 13:16:24 -0300
Processing by IssuesController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"b67XLfXLadJJHdz1UVSbL4TfQpwe/yMdPYYOeEXCw4muGMO0q4nNFLVzOkjuFVP/EOPXc7v0Qa3IVTC4TwpoYA==", "form_update_triggered_by"=>"", "issue"=>{"is_private"=>"0", "project_id"=>"1", "tracker_id"=>"2", "subject"=>"TEST", "description"=>"", "status_id"=>"1", "priority_id"=>"2", "assigned_to_id"=>"", "parent_issue_id"=>"", "start_date"=>"2022-04-25", "due_date"=>"", "estimated_hours"=>"", "done_ratio"=>"0", "custom_field_values"=>{"27"=>"2", "28"=>"4"}, "watcher_user_ids"=>[""]}, "was_default_status"=>"1", "commit"=>"Create", "project_id"=>"sgs"}
Current user: admin (id=1)
Completed 500 Internal Server Error in 42ms (ActiveRecord: 11.2ms)
NoMethodError (private method `grouped_fields' called for #<CustomFieldCalculator:0x000001ab5d7a0210>):
plugins/redmine_computable_custom_field/app/models/custom_field_calculator.rb:30:in `initialize'
plugins/redmine_computable_custom_field/lib/computable_custom_field/extensions/model_patch.rb:56:in `new'
plugins/redmine_computable_custom_field/lib/computable_custom_field/extensions/model_patch.rb:56:in `calculator'
plugins/redmine_computable_custom_field/lib/computable_custom_field/extensions/model_patch.rb:46:in `calculate_computable_field'
plugins/redmine_computable_custom_field/lib/computable_custom_field/extensions/model_patch.rb:37:in `block in calculate_computable_fields'
plugins/redmine_computable_custom_field/lib/computable_custom_field/extensions/model_patch.rb:34:in `each'
plugins/redmine_computable_custom_field/lib/computable_custom_field/extensions/model_patch.rb:34:in `calculate_computable_fields'
app/controllers/issues_controller.rb:143:in `create'
lib/redmine/sudo_mode.rb:61:in `sudo_mode'
Updated by liaham almost 3 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Updated by liaham almost 3 years ago
- Target version changed from unreleased to 3.0.4
Actions