Closed mac117 closed 8 years ago
Do you have any log output that shows the errors?
There is nothing in the logs but I have he following screen shots: 1 - This is the field I created for the project tab: [image: Inline image 1] 2 - Here are the tab plugin settings (the dropdown is empty): [image: Inline image 1] 3 - Using the system tab I get: [image: Inline image 2]
Not sure what the problem could be. I think I followed the instructions correctly. Let me know if you need/want more info.
On Thu, Aug 23, 2012 at 10:40 AM, James Turnbull notifications@github.comwrote:
Do you have any log output that shows the errors?
— Reply to this email directly or view it on GitHubhttps://github.com/jamtur01/redmine_tab/issues/8#issuecomment-7971764.
Without logs it's a bit tricky as I can't replicate the issue. Is there nothing in the log/production.log or development.log?
The log does not show anything for the project tab (the one I am interested)
But for the system tab it shows:
Started GET "/redmine/settings/plugin/redmine_tab" for 192.168.0.117 at 2012-08-27 00:39:43 -0700 Processing by SettingsController#plugin as HTML Parameters: {"id"=>"redmine_tab"} Rendered plugins/redmine_tab/app/views/settings/_redminetab_settings.html.erb (35.0ms) Rendered settings/plugin.html.erb within layouts/admin (46.0ms) Rendered admin/_menu.html.erb (2.3ms) Rendered layouts/base.html.erb (9.0ms) Completed 200 OK in 75ms (Views: 69.2ms | ActiveRecord: 2.5ms)
Started POST "/redmine/settings/plugin/redmine_tab" for 192.168.0.117 at 2012-08-27 00:41:11 -0700 Processing by SettingsController#plugin as HTML Parameters: {"utf8"=>"â", "authenticity_token"=>"q9OGlfJsbsZkesHubWEjYIS7SqARRTnCf25naXsUcXI=", "settings"=>{"tab_name"=>"Tab Name", "system_tab_name"=>"Test", "system_tab_text"=>"<iframe src=\"http://www.google.com/\" style=\"border: 0\" width=\"800\" height=\"600\" frameborder=\"0\" scrolling=\"no\">"}, "commit"=>"Apply", "id"=>"redmine_tab"} Redirected to http://centosserver/redmine/settings/plugin/redmine_tab Completed 302 Found in 107ms (ActiveRecord: 76.8ms)
Started GET "/redmine/settings/plugin/redmine_tab" for 192.168.0.117 at 2012-08-27 00:41:11 -0700 Processing by SettingsController#plugin as HTML Parameters: {"id"=>"redmine_tab"} Settings cache cleared. Rendered plugins/redmine_tab/app/views/settings/_redminetab_settings.html.erb (2.0ms) Rendered settings/plugin.html.erb within layouts/admin (3.5ms) Rendered admin/_menu.html.erb (4.7ms) Rendered layouts/base.html.erb (15.5ms) Completed 200 OK in 29ms (Views: 23.7ms | ActiveRecord: 2.0ms)
Started GET "/redmine/tab/show" for 192.168.0.117 at 2012-08-27 00:41:13 -0700 Processing by TabController#show as HTML Rendered common/error.html.erb within layouts/base (0.4ms) Filter chain halted as :find_project rendered or redirected Completed 404 Not Found in 59ms (Views: 11.7ms | ActiveRecord: 1.5ms)
On Fri, Aug 24, 2012 at 3:36 PM, James Turnbull notifications@github.comwrote:
Without logs it's a bit tricky as I can't replicate the issue. Is there nothing in the log/production.log or development.log?
— Reply to this email directly or view it on GitHubhttps://github.com/jamtur01/redmine_tab/issues/8#issuecomment-8012530.
Found the error: In tab.rb (redmine_tab/app/models) ther is an error in L24:
Old: tab_text = project.custom_values.detect {|v| v.custom_field_id == Setting.plugin_redmine_tab['tab_text'].to_i} New: tab_text = project.custom_values.detect {|v| v.custom_field_id = Setting.plugin_redmine_tab['tab_text'].to_i}
This is just the fix for the project-relevant bug not for the global one.
Ulle
So you think you can fix it any time soon? Not pushing, just asking... And thanks for your time =)
On Mon, Aug 27, 2012 at 5:51 AM, Ulle2 notifications@github.com wrote:
Found the error: In tab.rb (redmine_tab/app/models) ther is an error in L24:
Old: tab_text = project.custom_values.detect {|v| v.custom_field_id == Setting.plugin_redmine_tab['tab_text'].to_i} New: tab_text = project.custom_values.detect {|v| v.custom_field_id = Setting.plugin_redmine_tab['tab_text'].to_i}
Ulle
— Reply to this email directly or view it on GitHubhttps://github.com/jamtur01/redmine_tab/issues/8#issuecomment-8051384.
@mac117 Can you confirm that fixes the project tab issue for you?
Actually it does not... I did the changes rebooted apache, tried to create a new project custom field, but still does not work... Do you want me to set a virtual machine for you to debug?
On Mon, Aug 27, 2012 at 12:01 PM, James Turnbull notifications@github.comwrote:
@mac117 https://github.com/mac117 Can you confirm that fixes the project tab issue for you?
— Reply to this email directly or view it on GitHubhttps://github.com/jamtur01/redmine_tab/issues/8#issuecomment-8060530.
A virtual machine would be awesome thanks!
Hello!
Any news on this 404 bug?
Many thank.
I too would like some information on this 404 bug for the system wide tab
I am using redmine 2.0.3
It seems the functionality is mainly there. I get the tab and I can change the Tab Text and it seems to store the value. I am assuming this is the iframe markup I am supposed to put here?...
i.e.
The error I am getting in the production log is..
Started GET "/tab/show" for 10.7.201.33 at Wed Sep 05 14:03:15 +1000 2012 Processing by TabController#show as HTML Rendered common/error.html.erb within layouts/base (0.1ms) Filter chain halted as :find_project rendered or redirected Completed 404 Not Found in 21ms (Views: 16.6ms | ActiveRecord: 1.0ms)
Hi you can find a virtual machine with the problem here: http://goo.gl/lu9BH Machine login is "ubuntu" and password is "ubuntu". Redmine has default "admin" "admin".
Configurations are the same as found here (Only differences are minor version changes): http://goo.gl/k9MNA
Really sorry I took so long to put this together. Really appreciate your effort in debugging this. Let me know when you downloaded it so I can remove it.
It's downloaded. I'll try to take a look in December but I don't really hack on Redmine anymore so it's slow going.
Any news? =)
I have the same problem, any news ? :)
I fix my problem by rename the name of directory (of the plugin) to "redmine_tab" :)
Hi, I am new to redmine so bare with me.
I really need this plugin working, but I think it is not working with the trunk version. I am using 2.0.3.devel.10212.
Problems I have:
Thanks!