Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/redmine3 working in Redmine 3.4.x #1149

Open
wants to merge 4 commits into
base: feature/redmine3
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ redmine_version_major = version_file.match(/MAJOR =/).post_match.match(/\d/)[0].

gem "holidays", "~>1.0.3"
gem "icalendar"
gem "nokogiri"
#gem "nokogiri"
gem "open-uri-cached"
gem "prawn"
gem 'json'
Expand All @@ -25,7 +25,7 @@ group :test do
gem 'cucumber-rails', require: false
gem "culerity"
gem "cucumber"
gem "capybara", "~> 1"
#gem "capybara", "~> 1"
#gem "faye-websocket"
gem "poltergeist"
gem "database_cleaner"
Expand Down
7 changes: 6 additions & 1 deletion app/controllers/rb_application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@ def check_if_plugin_is_configured
@settings = Backlogs.settings
# make a copy to workaround RuntimeError (can't modify frozen ActionController::Parameters):
s1 = @settings.dup
if s1[:story_trackers].blank? || s1[:task_tracker].blank?

story_trackers = s1["story_trackers"]
task_tracker = s1["task_tracker"]

if story_trackers.blank? || task_tracker.blank?
#if s1[:story_trackers].blank? || s1[:task_tracker].blank?
puts("check_if_plugin_is_configured: something is blank, halting. #{s1}")
respond_to do |format|
format.html { render :template => "backlogs/not_configured", :handlers => [:erb], :formats => [:html] }
Expand Down
Loading