AgileDwarf - No Sprint Tab

Added by metal zong about 8 years ago

Hello, Just installed AgileDwarf with following commands:

git clone https://github.com/iRessources/AgileDwarf.git AgileDwarf
rake redmine:plugins:migrate RAILS_ENV=production

[root@v1 plugins]# ls -l
total 12
drwxr-xr-x 9 apache apache 4096 Aug 30 17:07 AgileDwarf

But I can not see sprint tab and no error message in httpd error log file. Is there anybody can give me some tips? Thanks.

Environment:
Redmine version 2.0.3.stable
Ruby version 1.8.7 (x86_64-linux)
Rails version 3.2.6
Environment production
Database adapter MySQL
Redmine plugins:
AgileDwarf 0.0.3

Replies (2)

RE: AgileDwarf - No Sprint Tab - Added by Michael K. about 8 years ago

Hi, thank you for your interest in Agile Dwarf

sorry about the delay, I just discovered your post.
The dev team will look into your problem and I'll get back to you as soon as possible.

RE: AgileDwarf - No Sprint Tab - Added by Michael Stucki over 7 years ago

Here is a workaround:

diff --git a/app/views/adsprints/list.html.erb b/app/views/adsprints/list.html.erb
index 976dc70..210a013 100644
--- a/app/views/adsprints/list.html.erb
+++ b/app/views/adsprints/list.html.erb
@@ -28,7 +28,7 @@
             'sprintinline': '<%= url_for(:controller => 'adsprintinl', :action => 'inplace') %>',
             'sprintcreate': '<%= url_for(:controller => 'adsprintinl', :action => 'create') %>'
         },
-        project_users: <%= ActiveSupport::JSON.encode(@assignables).html_safe %>,
+        project_users: <%= raw ActiveSupport::JSON.encode(@assignables) %>,
         form_authenticity_token: '<%= form_authenticity_token %>',
         lang:
         {
diff --git a/app/views/adtasks/list.html.erb b/app/views/adtasks/list.html.erb
index 2c17bea..49d37e4 100644
--- a/app/views/adtasks/list.html.erb
+++ b/app/views/adtasks/list.html.erb
@@ -18,7 +18,7 @@
         protect_against_forgery: <%= protect_against_forgery? ? "true" : "false" %>,
         request_forgery_protection_token: '<%= request_forgery_protection_token %>',
         form_authenticity_token: '<%= form_authenticity_token %>',
-        project_users: <%= ActiveSupport::JSON.encode(@assignables_list).html_safe %>,
+        project_users: <%= raw ActiveSupport::JSON.encode(@assignables_list) %>,
         urls:
         {
             'taskdnd': '<%= url_for(:controller => 'adtaskinl', :action => 'update') %>',

(1-2/2)