Show Issue Descriptions plugin
Added by Victor Dulepov over 14 years ago
Allows choosing whether to render the issues list without descriptions (original Redmine behavior) - or with complete issue descriptions along with the short headers (like Trac does).
For details and the plugin itself see PluginShowIssueDescriptions
Replies (46)
RE: Show Issue Descriptions plugin - Added by T. K. over 13 years ago
Sorry, the best Redmine is version 1.1.3. and I would be happy to use. The plugin is unfortunately
not yet on this version.
error message:
NoMethodError in Issues#index
Showing vendor/plugins/redmine_show_descriptions/app/views/queries/_custom_params.rhtml where line #1 raised:
undefined method `show_desc' for #<Query:0x86e5240>
Extracted source (around line #1):
1: <%= check_box :query, :show_desc, {}, '1', '0' ><= l(:label_show_description_plural) %>
Trace of template inclusion: vendor/plugins/redmine_show_descriptions/app/views/issues/index.rhtml
The same error message as shown above, already listed in detail.
RE: Show Issue Descriptions plugin - Added by Terence Mill over 13 years ago
We made a fix for redmine 1.21, which resolves view issues.
Replace the file /app/views/issues/index.rhtml
index.rhtml (3.79 KB) index.rhtml |
RE: Show Issue Descriptions plugin - Added by Steven Wong over 13 years ago
Wow
Thanks a lot. I would be glad to test the plugin. If there's any problem, I'll let you know.
Terence Mill wrote:
We made a fix for redmine 1.21, which resolves view issues.
Replace the file /app/views/issues/index.rhtml
RE: Show Issue Descriptions plugin - Added by Steven Wong over 13 years ago
Great.
I tested it and it works well in Redmine 1.2.X.
The file solve the issues as follows:
1. when click apply button twice, the issue list would lost the issue information in the list
2. check_box error.
I repack the zip file if anyone need the plugin, and add the zh.yml into the pack.
Thanks a lot.
redmine_show_descriptions-0.0.4-Repack.zip (10.9 KB) redmine_show_descriptions-0.0.4-Repack.zip | redmine_show_descriptions-0.0.4-Repack.zip |
RE: Show Issue Descriptions plugin - Added by Steven Wong over 13 years ago
could the plugin show the attachment of the issue ,eg .png or .jpg files?
RE: Show Issue Descriptions plugin - Added by Steven Wong over 13 years ago
Steven Wong wrote:
could the plugin show the attachment of the issue ,eg .png or .jpg files?
I just mean it could show the attachment directly, not use the tag like '!testpic!'.
anyone could tell me ? Thanks.
RE: Show Issue Descriptions plugin - Added by Steven Wong over 13 years ago
Just Like this
Steven Wong wrote:
Steven Wong wrote:
could the plugin show the attachment of the issue ,eg .png or .jpg files?
I just mean it could show the attachment directly, not use the tag like '!testpic!'.
anyone could tell me ? Thanks.
RE: Show Issue Descriptions plugin - Added by Steven Wong over 13 years ago
Hi, everybody,
I have a new problem about the show_issue_description and the plugin Sidebar content
it seems that they have conflict each other.
The error information as follows:
NoMethodError in Issues#index
Showing app/views/issues/_sidebar.rhtml where line #6 raised:
undefined method `strip_tags' for #<SidebarHook:0x6959ee0 @parsed_headings=[]>
Extracted source (around line #6):
3: <% if Herve Harster >
4: <= link_to l(:field_summary), :controller => 'reports', :action => 'issue_report', :id => Herve Harster ><br />
5: < end >
6: <= call_hook(:view_issues_sidebar_issues_bottom) >
7:
8: < if User.current.allowed_to?(:view_calendar, Herve Harster, :global => true) >
9: <= link_to(l(:label_calendar), :controller => 'calendars', :action => 'show', :project_id => Herve Harster) %><br />
Trace of template inclusion: vendor/plugins/redmine_show_descriptions/app/views/issues/index.rhtml
RAILS_ROOT: D:/redmine
Application Trace | Framework Trace | Full Trace
D:/redmine/app/helpers/application_helper.rb:705:in `parse_headings'
D:/redmine/app/helpers/application_helper.rb:703:in `gsub!'
D:/redmine/app/helpers/application_helper.rb:703:in `parse_headings'
D:/redmine/app/helpers/application_helper.rb:464:in `send'
D:/redmine/app/helpers/application_helper.rb:464:in `textilizable'
D:/redmine/app/helpers/application_helper.rb:463:in `each'
D:/redmine/app/helpers/application_helper.rb:463:in `textilizable'
D:/redmine/app/helpers/application_helper.rb:483:in `parse_non_pre_blocks'
D:/redmine/app/helpers/application_helper.rb:462:in `textilizable'
D:/redmine/lib/redmine/hook.rb:63:in `send'
D:/redmine/lib/redmine/hook.rb:63:in `call_hook'
D:/redmine/lib/redmine/hook.rb:63:in `each'
D:/redmine/lib/redmine/hook.rb:63:in `call_hook'
D:/redmine/lib/redmine/hook.rb:60:in `tap'
D:/redmine/lib/redmine/hook.rb:60:in `call_hook'
D:/redmine/lib/redmine/hook.rb:144:in `call_hook'
D:/redmine/app/views/issues/_sidebar.rhtml:6:in `_run_rhtml_app47views47issues47_sidebar46rhtml_locals_object_sidebar'
D:/redmine/app/helpers/application_helper.rb:868:in `content_for'
D:/redmine/app/controllers/issues_controller.rb:92:in `index_without_xls_export'
D:/redmine/app/controllers/issues_controller.rb:91:in `index_without_xls_export'
Request
Parameters:
{"project_id"=>"demoprj"}
Show session dump
Response
Headers:
{"Content-Type"=>"text/html",
"Cache-Control"=>"no-cache"}
Works for me with 1.2 - Added by Dave Abrahams over 13 years ago
I think you should update the compatibility notes
RE: Show Issue Descriptions plugin - Added by Steven Wong over 13 years ago
another conflict with the plugin "Extra query operators "
it's the error infomation here
Hi, Vitaly Klimov
When I installed the "show descriptions" and the "Extra query operators" together,the issues page would be crashed. I'm not sure how to modify it. The information is here
===============================================================================
NoMethodError in Issues#index
Showing vendor/plugins/redmine_extra_query_operators/app/views/queries/_filters.rhtml where line #148 raised:
undefined method `value_for' for #<Query:0x68e34a0>
Extracted source (around line #148):
145: <span class="span_values_<%= field >"><= text_field_tag "v[#{field}][]", query.value_for(field), :size => 3, :class => "values_#{field}" > <= l(:label_eqo_mw_tip) ></span>
146: <# VVK end >
147: < when :string, :text >
148: <span class="span_values_<= field >"><= text_field_tag "v[#{field}][]", query.value_for(field), :class => "values_#{field}", :id => "values_#{field}", :size => 30 ></span>
149: < when :integer, :float >
150: <span class="span_values_<= field >"><= text_field_tag "v[#{field}][]", query.value_for(field), :class => "values_#{field}", :id => "values_#{field}_1", :size => 6 ></span>
151: <span class="span_values_<= field >"><= text_field_tag "v[#{field}][]", query.value_for(field, 1), :class => "values_#{field}", :id => "values_#{field}_2", :size => 6 %></span>
Trace of template inclusion: vendor/plugins/redmine_show_descriptions/app/views/issues/index.rhtml
RAILS_ROOT: D:/redmine
RE: Show Issue Descriptions plugin - Added by Mario Luzeiro about 13 years ago
http://www.redmine.org/boards/2/topics/27227?r=27279#message-27279
Please, consider also this topic for problems with this plugin.
Any one knows if it will be updated again or is discontinued?
RE: Show Issue Descriptions plugin - Added by Terence Mill almost 13 years ago
Known Issues:
- There is a problem when with redmine_xls_export which can be worked around if order in redmine/config/environment.rb is set to:
config.plugins = [ :all, :redmine_xls_export, :redmine_spent_time_column]
- The Plugin (0.0.4 Repack)breaks Rest-API. If installed its mo more usable. See issue #8883.
It seems that the cause is code in redmine_show_descriptions/app/views/issues/index.rhtml.
The plugin is using hooks and partial rendering of templates, which templates are searched at the wrong place. Means that its searches them in path of other plugins first (or only) instead of core views, which results that there is no view representation renderable for REST/XML Mimetype (view.erb but only view.html.erb is found)
There are two lines in code which cause the problems that cause errors in rest api, e.g calling http://myredminesrv.org/issues.xml woN't return xml but Internal error 500 (ActionView::TemplateError (Missing template ...)
- view_issues_index_bottom
line 69:<%= call_hook(:view_issues_index_bottom, { :issues => @issues, :project => @project, :query => @query }) %> )
causes following error ..
F, [2011-12-13T14:39:04.542091 #23568] FATAL -- : ActionView::TemplateError (Missing template hooks/redmine_spent_time_column/_view_issues_index_bottom.erb in view path vendor/plugins/projects_tree_view/app/views:vendor/plugins/question_plugin/app/views:vendor/plugins/redmics/app/views:vendor/plugins/redmine-system-notification-plugin/app/views:vendor/plugins/redmine_assets_plugin/app/views:vendor/plugins/redmine_blocks_layout/app/views:vendor/plugins/redmine_boards_watchers/app/views:vendor/plugins/redmine_cc_addresses/app/views:vendor/plugins/redmine_charts/app/views:vendor/plugins/redmine_checkout/app/views:vendor/plugins/redmine_code_review/app/views:vendor/plugins/redmine_digest/app/views:vendor/plugins/redmine_favourite_projects/app/views:vendor/plugins/redmine_goyello_stuff_to_do/app/views:vendor/plugins/redmine_graphs/app/views:vendor/plugins/redmine_hudson/app/views:vendor/plugins/redmine_importer/app/views:vendor/plugins/redmine_issue_history/app/views:vendor/plugins/redmine_last_messages/app/views:vendor/plugins/redmine_ldap_sync/app/views:vendor/plugins/redmine_lightbox/app/views:vendor/plugins/redmine_loader/app/views:vendor/plugins/redmine_local_avatars/app/views:vendor/plugins/redmine_logs/app/views:vendor/plugins/redmine_meetings/app/views:vendor/plugins/redmine_my_widgets/app/views:vendor/plugins/redmine_mylyn_connector/app/views:vendor/plugins/redmine_opensearch/app/views:vendor/plugins/redmine_pastebin/app/views:vendor/plugins/redmine_polls/app/views:vendor/plugins/redmine_screenshot_paste/app/views:vendor/plugins/redmine_scrumdashboard/app/views:vendor/plugins/redmine_show_descriptions/app/views:vendor/plugins/redmine_tags/app/views:vendor/plugins/redmine_thumbnails/app/views:vendor/plugins/redmine_time_tracker/app/views:vendor/plugins/redmine_user_status/app/views:vendor/plugins/redmine_vote/app/views:vendor/plugins/redmine_webdav/app/views:vendor/plugins/redmine_wiki_extensions/app/views:vendor/plugins/redmine_workflow_viz/app/views:vendor/plugins/redmine_xapian/app/views:vendor/plugins/redmine_xls_export/app/views:vendor/plugins/redmine_spent_time_column/app/views:app/views) on line #68 of vendor/plugins/redmine_show_descriptions/app/views/issues/index.rhtml: 65: <% end %> 66: 67: <% end %> 68: <%= call_hook(:view_issues_index_bottom, { :issues => @issues, :project => @project, :query => @query }) %> 69: 70: <% content_for :sidebar do %> 71: <%= render :partial => 'issues/sidebar' %> lib/redmine/hook.rb:113:in `send' lib/redmine/hook.rb:113:in `view_issues_index_bottom' lib/redmine/hook.rb:63:in `send' lib/redmine/hook.rb:63:in `call_hook' lib/redmine/hook.rb:63:in `each' lib/redmine/hook.rb:63:in `call_hook' lib/redmine/hook.rb:60:in `tap' lib/redmine/hook.rb:60:in `call_hook' lib/redmine/hook.rb:144:in `call_hook' vendor/plugins/redmine_show_descriptions/app/views/issues/index.rhtml:68:in `_run_rhtml_vendor47plugins47redmine_show_descriptions47app47views47issues47index46rhtml' app/controllers/issues_controller.rb:91:in `index_without_xls_export' passenger (3.0.8) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request' passenger (3.0.8) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request' passenger (3.0.8) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop' passenger (3.0.8) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler' passenger (3.0.8) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send' passenger (3.0.8) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application' passenger (3.0.8) lib/phusion_passenger/utils.rb:479:in `safe_fork' passenger (3.0.8) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application' passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:180:in `start' passenger (3.0.8) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start' passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application' passenger (3.0.8) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add' passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application' passenger (3.0.8) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize' passenger (3.0.8) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application' passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application' passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application' passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.8) helper-scripts/passenger-spawn-server:99 I, [2011-12-13T14:39:04.542547 #23568] INFO -- : Rendering /opt/redmine-1.2.1d3/public/500.html (500 Internal Server Error)
I copied redmine /vendor/plugins/redmine_spent_time_column/app/views/hooks/redmine_spent_time_column/_view_issues_index_bottom.html.erb to _view_issues_index_bottom.erb and the error was gone.
Then the next line made a problem..
- render :partial => 'issues/sidebar'
line 70
<% content_for :sidebar do %> <%= render :partial => 'issues/sidebar' %> <% end %>
ActionView::TemplateError (Missing template issues/_tags_sidebar.erb in view path vendor/plugins/projects_tree_view/app/views:vendor/plugins/question_plugin/app/views:vendor/plugins/redmics/app/views:vendor/plugins/redmine-system-notification-plugin/app/views:vendor/plugins/redmine_assets_plugin/app/views:vendor/plugins/redmine_blocks_layout/app/views:vendor/plugins/redmine_boards_watchers/app/views:vendor/plugins/redmine_cc_addresses/app/views:vendor/plugins/redmine_charts/app/views:vendor/plugins/redmine_checkout/app/views:vendor/plugins/redmine_code_review/app/views:vendor/plugins/redmine_digest/app/views:vendor/plugins/redmine_favourite_projects/app/views:vendor/plugins/redmine_goyello_stuff_to_do/app/views:vendor/plugins/redmine_graphs/app/views:vendor/plugins/redmine_hudson/app/views:vendor/plugins/redmine_importer/app/views:vendor/plugins/redmine_issue_history/app/views:vendor/plugins/redmine_last_messages/app/views:vendor/plugins/redmine_ldap_sync/app/views:vendor/plugins/redmine_lightbox/app/views:vendor/plugins/redmine_loader/app/views:vendor/plugins/redmine_local_avatars/app/views:vendor/plugins/redmine_logs/app/views:vendor/plugins/redmine_meetings/app/views:vendor/plugins/redmine_my_widgets/app/views:vendor/plugins/redmine_mylyn_connector/app/views:vendor/plugins/redmine_opensearch/app/views:vendor/plugins/redmine_pastebin/app/views:vendor/plugins/redmine_polls/app/views:vendor/plugins/redmine_screenshot_paste/app/views:vendor/plugins/redmine_scrumdashboard/app/views:vendor/plugins/redmine_tags/app/views:vendor/plugins/redmine_thumbnails/app/views:vendor/plugins/redmine_time_tracker/app/views:vendor/plugins/redmine_user_status/app/views:vendor/plugins/redmine_vote/app/views:vendor/plugins/redmine_webdav/app/views:vendor/plugins/redmine_wiki_extensions/app/views:vendor/plugins/redmine_workflow_viz/app/views:vendor/plugins/redmine_xapian/app/views:vendor/plugins/redmine_xls_export/app/views:vendor/plugins/redmine_spent_time_column/app/views:vendor/plugins/redmine_show_descriptions/app/views:app/views) on line #14 of app/views/issues/_sidebar.rhtml: 11: <% if User.current.allowed_to?(:view_gantt, @project, :global => true) %> 12: <%= link_to(l(:label_gantt), :controller => 'gantts', :action => 'show', :project_id => @project) %><br /> 13: <% end %> 14: <%= call_hook(:view_issues_sidebar_planning_bottom) %> 15: 16: <%= render_sidebar_queries %> 17: <%= call_hook(:view_issues_sidebar_queries_bottom) %> lib/redmine/hook.rb:113:in `send' lib/redmine/hook.rb:113:in `view_issues_sidebar_planning_bottom' lib/redmine/hook.rb:63:in `send' lib/redmine/hook.rb:63:in `call_hook' lib/redmine/hook.rb:63:in `each' lib/redmine/hook.rb:63:in `call_hook' lib/redmine/hook.rb:60:in `tap' lib/redmine/hook.rb:60:in `call_hook' lib/redmine/hook.rb:144:in `call_hook' app/views/issues/_sidebar.rhtml:14:in `_run_rhtml_app47views47issues47_sidebar46rhtml_locals_object_sidebar' vendor/plugins/redmine_show_descriptions/app/views/issues/index.rhtml:71:in `_run_rhtml_vendor47plugins47redmine_show_descriptions47app47views47issues47index46rhtml' app/helpers/application_helper.rb:868:in `content_for' vendor/plugins/redmine_show_descriptions/app/views/issues/index.rhtml:70:in `_run_rhtml_vendor47plugins47redmine_show_descriptions47app47views47issues47index46rhtml' app/controllers/issues_controller.rb:91:in `index_without_xls_export' passenger (3.0.8) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request' passenger (3.0.8) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request' passenger (3.0.8) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop' passenger (3.0.8) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler' passenger (3.0.8) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send' passenger (3.0.8) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application' passenger (3.0.8) lib/phusion_passenger/utils.rb:479:in `safe_fork' passenger (3.0.8) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application' passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:180:in `start' passenger (3.0.8) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start' passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application' passenger (3.0.8) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add' passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application' passenger (3.0.8) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize' passenger (3.0.8) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application' passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application' passenger (3.0.8) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application' passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.8) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.8) helper-scripts/passenger-spawn-server:99
Seems as the redmine_tags plugin redner its own sidebar and this has no representation for xml/rest.
How can a plugin in general only overide/extend rendering for html but fall back to core view rendering when xml/json is reqquested.
I am a rails/redmine beginner and need some explanation and bless from a experienced developer into the right direction.
Tx for pointing things out.
Cheers, terence
RE: Show Issue Descriptions plugin - Added by Terence Mill almost 13 years ago
Done a fix, will commit soon on my github https://github.com/cforce/redmine_show_descriptions
RE: Show Issue Descriptions plugin - Added by Roberto Viola almost 13 years ago
Is there any possibility to export data we get by using this plugin to PDF?
I find it very useful
RE: Show Issue Descriptions plugin - Added by Terence Mill almost 13 years ago
Redmine 1.4 will support exporting all wiki sites to one pdf.
Such feature shall be avaible for issue views also. Create an feature request
RE: Show Issue Descriptions plugin - Added by Roberto Viola almost 13 years ago
thx for the news Terence Hersbach
I've solved my need with this http://www.redmine.org/boards/3/topics/11986
RE: Show Issue Descriptions plugin - Added by Luis Serrano Aranda almost 13 years ago
I think a good option to add to this plugin is add the description option when I save a query.
RE: Show Issue Descriptions plugin - Added by Lorenzo Forti over 12 years ago
Hi,
with this plugin installed I can't delete custom queries (404 error is returned). If I disable the plugin all runs right
My redmine version is 1.3
thank you
lorenzo
RE: Show Issue Descriptions plugin - Added by Lorenzo Forti over 12 years ago
I resolve myself.
open index.html.erb in app/views/issues of plugin folder.
modify:
<%= link_to l(:button_delete), {:controller => 'queries', :action => 'destroy', :id => @query}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
into:
<%= link_to l(:button_delete), {:controller => 'queries', :action => 'destroy', :id => @query}, :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-del' %>
method:delete is the right choice
RE: Show Issue Descriptions plugin - Added by Alice Kay over 12 years ago
This didn't really work for me? I ran into an error -- does this work the same way on a Mac? Wood Burning Tools
- « Previous
- 1
- 2
- Next »