Merge pull request #84 from finnlabs/fix/500_on_project_update_validation_error_4862

Fixed 500 on validation errors in project update with backlogs enabled
pull/6827/head
ulferts 11 years ago
commit 02cbf156e5
  1. 1
      doc/CHANGELOG.md
  2. 6
      lib/open_project/backlogs/patches/projects_controller_patch.rb

@ -43,6 +43,7 @@ See doc/COPYRIGHT.rdoc for more details.
* `#4152` Page not found when only one export card configuration is specified
* `#4223` Fix: Taskboard is translated to "Aufgabenliste" in German
* `#4224` "Create stories" is translated to "Sprints anlegen" in Roles & Permissions
* `#4862` Fix: Internal error with custom field for projects
* show description on pdf export modal
## 3.0.5.pre3

@ -40,13 +40,13 @@ module OpenProject::Backlogs::Patches::ProjectsControllerPatch
base.class_eval do
include InstanceMethods
alias_method_chain :settings, :backlogs_settings
alias_method_chain :load_project_settings, :backlogs_settings
end
end
module InstanceMethods
def settings_with_backlogs_settings
settings_without_backlogs_settings
def load_project_settings_with_backlogs_settings
load_project_settings_without_backlogs_settings
@statuses = Status.all
end

Loading…
Cancel
Save