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

Release Notes tabs is not shown event checked module for project. #115

Open
bhushangahire opened this issue Jul 30, 2014 · 11 comments
Open

Comments

@bhushangahire
Copy link

I am using Redmine 2.5
I did load default but I am not seeing anything in table. Also I am not seeing the tab even if I checked the release notes module for the project.
Am I missing anything ?

@stewert
Copy link

stewert commented Sep 10, 2014

I'm also missing the "Release Notes" tab in the project menu ... Any news on this?

@namezero111111
Copy link
Contributor

I have the same issue and tried to debug it. I'm not familiar with Ruby at all, and couldn't find the cause :/ Also on 2.5.2
Do you have the module extensions listed on the permissions page?

@stewert
Copy link

stewert commented Sep 12, 2014

Yes. Under Administration - Plugins the release notes plugin is listed. I can also configure the plugin. Only the "Release Notes" tab in the project menu is missing

@namezero111111
Copy link
Contributor

stewert, the tab was removed a year ago in the repo.
I have tried adding it back it for a test.
Try this version: www.afim.info/files/redmine_release_notes_revert.7z

@stewert
Copy link

stewert commented Sep 13, 2014

Hello namezero111111,

at first: thanks for your support! :-)

BTW: I use also version 2.5.2 of redmine.

After I have installing your patch I see the Release Notes menu. But every time after I add a valid release note to a ticket and try to reopen the "Release Notes" menu I get the following error:

ActionView::Template::Error (Unrecognised value for +release_notes_value+: <[:todo, :done]>.
This is a bug. Please report it: https://github.com/hdgarrood/redmine_release_notes
):
21: t(:label_x_issues, :count => version.issues_count),
22: version, @project) %>
23:
24: (<%= release_notes_overview_link_if(
25: count_required > 0,
26: t('release_notes.x_requiring_release_notes',
27: :count => count_required),
plugins/redmine_release_notes/app/helpers/release_notes_helper.rb:70:in add_release_notes_custom_field_filters' plugins/redmine_release_notes/app/helpers/release_notes_helper.rb:39:inrelease_notes_overview_link'
plugins/redmine_release_notes/app/helpers/release_notes_helper.rb:106:in release_notes_overview_link_if' plugins/redmine_release_notes/app/views/release_notes/_overview.html.erb:24:in_plugins_redmine_release_notes_app_views_release_notes__overview_html_erb___2255716011649679882_69907337911680'
actionpack (3.2.19) lib/action_view/template.rb:145:in block in render' activesupport (3.2.19) lib/active_support/notifications.rb:125:ininstrument'
actionpack (3.2.19) lib/action_view/template.rb:143:in render' actionpack (3.2.19) lib/action_view/renderer/partial_renderer.rb:265:inrender_partial'
actionpack (3.2.19) lib/action_view/renderer/partial_renderer.rb:238:in block in render' actionpack (3.2.19) lib/action_view/renderer/abstract_renderer.rb:38:inblock in instrument'
activesupport (3.2.19) lib/active_support/notifications.rb:123:in block in instrument' activesupport (3.2.19) lib/active_support/notifications/instrumenter.rb:20:ininstrument'
activesupport (3.2.19) lib/active_support/notifications.rb:123:in instrument' actionpack (3.2.19) lib/action_view/renderer/abstract_renderer.rb:38:ininstrument'
actionpack (3.2.19) lib/action_view/renderer/partial_renderer.rb:237:in render' actionpack (3.2.19) lib/action_view/renderer/renderer.rb:41:inrender_partial'
actionpack (3.2.19) lib/action_view/renderer/renderer.rb:15:in render' actionpack (3.2.19) lib/action_view/helpers/rendering_helper.rb:24:inrender'
plugins/redmine_release_notes/app/views/release_notes/index.html.erb:9:in block in _plugins_redmine_release_notes_app_views_release_notes_index_html_erb__4381362879720237616_69907338085880' plugins/redmine_release_notes/app/views/release_notes/index.html.erb:7:ineach'
plugins/redmine_release_notes/app/views/release_notes/index.html.erb:7:in _plugins_redmine_release_notes_app_views_release_notes_index_html_erb__4381362879720237616_69907338085880' actionpack (3.2.19) lib/action_view/template.rb:145:inblock in render'
activesupport (3.2.19) lib/active_support/notifications.rb:125:in instrument' actionpack (3.2.19) lib/action_view/template.rb:143:inrender'
actionpack (3.2.19) lib/action_view/renderer/template_renderer.rb:47:in block (2 levels) in render_template' actionpack (3.2.19) lib/action_view/renderer/abstract_renderer.rb:38:inblock in instrument'
activesupport (3.2.19) lib/active_support/notifications.rb:123:in block in instrument' activesupport (3.2.19) lib/active_support/notifications/instrumenter.rb:20:ininstrument'
activesupport (3.2.19) lib/active_support/notifications.rb:123:in instrument' actionpack (3.2.19) lib/action_view/renderer/abstract_renderer.rb:38:ininstrument'
actionpack (3.2.19) lib/action_view/renderer/template_renderer.rb:46:in block in render_template' actionpack (3.2.19) lib/action_view/renderer/template_renderer.rb:54:inrender_with_layout'
actionpack (3.2.19) lib/action_view/renderer/template_renderer.rb:45:in render_template' actionpack (3.2.19) lib/action_view/renderer/template_renderer.rb:18:inrender'
actionpack (3.2.19) lib/action_view/renderer/renderer.rb:36:in render_template' actionpack (3.2.19) lib/action_view/renderer/renderer.rb:17:inrender'
actionpack (3.2.19) lib/abstract_controller/rendering.rb:110:in _render_template' actionpack (3.2.19) lib/action_controller/metal/streaming.rb:225:in_render_template'
actionpack (3.2.19) lib/abstract_controller/rendering.rb:103:in render_to_body' actionpack (3.2.19) lib/action_controller/metal/renderers.rb:28:inrender_to_body'
actionpack (3.2.19) lib/action_controller/metal/compatibility.rb:50:in render_to_body' actionpack (3.2.19) lib/abstract_controller/rendering.rb:88:inrender'
actionpack (3.2.19) lib/action_controller/metal/rendering.rb:16:in render' actionpack (3.2.19) lib/action_controller/metal/instrumentation.rb:40:inblock (2 levels) in render'
activesupport (3.2.19) lib/active_support/core_ext/benchmark.rb:5:in block in ms' /usr/local/lib/ruby/2.1.0/benchmark.rb:294:inrealtime'
activesupport (3.2.19) lib/active_support/core_ext/benchmark.rb:5:in ms' actionpack (3.2.19) lib/action_controller/metal/instrumentation.rb:40:inblock in render'
actionpack (3.2.19) lib/action_controller/metal/instrumentation.rb:83:in cleanup_view_runtime' activerecord (3.2.19) lib/active_record/railties/controller_runtime.rb:24:incleanup_view_runtime'
actionpack (3.2.19) lib/action_controller/metal/instrumentation.rb:39:in render' wicked_pdf (0.11.0) lib/wicked_pdf/pdf_helper.rb:23:inrender_with_wicked_pdf'
actionpack (3.2.19) lib/action_controller/metal/implicit_render.rb:10:in default_render' actionpack (3.2.19) lib/action_controller/metal/implicit_render.rb:5:insend_action'
actionpack (3.2.19) lib/abstract_controller/base.rb:167:in process_action' actionpack (3.2.19) lib/action_controller/metal/rendering.rb:10:inprocess_action'
actionpack (3.2.19) lib/abstract_controller/callbacks.rb:18:in block in process_action' activesupport (3.2.19) lib/active_support/callbacks.rb:480:in_run__2221744735425187091__process_action__539286801301865202__callbacks'
activesupport (3.2.19) lib/active_support/callbacks.rb:405:in __run_callback' activesupport (3.2.19) lib/active_support/callbacks.rb:385:in_run_process_action_callbacks'
activesupport (3.2.19) lib/active_support/callbacks.rb:81:in run_callbacks' actionpack (3.2.19) lib/abstract_controller/callbacks.rb:17:inprocess_action'
actionpack (3.2.19) lib/action_controller/metal/rescue.rb:29:in process_action' actionpack (3.2.19) lib/action_controller/metal/instrumentation.rb:30:inblock in process_action'
activesupport (3.2.19) lib/active_support/notifications.rb:123:in block in instrument' activesupport (3.2.19) lib/active_support/notifications/instrumenter.rb:20:ininstrument'
activesupport (3.2.19) lib/active_support/notifications.rb:123:in instrument' actionpack (3.2.19) lib/action_controller/metal/instrumentation.rb:29:inprocess_action'
actionpack (3.2.19) lib/action_controller/metal/params_wrapper.rb:207:in process_action' activerecord (3.2.19) lib/active_record/railties/controller_runtime.rb:18:inprocess_action'
actionpack (3.2.19) lib/abstract_controller/base.rb:121:in process' actionpack (3.2.19) lib/abstract_controller/rendering.rb:45:inprocess'
actionpack (3.2.19) lib/action_controller/metal.rb:203:in dispatch' actionpack (3.2.19) lib/action_controller/metal/rack_delegation.rb:14:indispatch'
actionpack (3.2.19) lib/action_controller/metal.rb:246:in block in action' actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:73:incall'
actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:73:in dispatch' actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:36:incall'
journey (1.0.4) lib/journey/router.rb:68:in block in call' journey (1.0.4) lib/journey/router.rb:56:ineach'
journey (1.0.4) lib/journey/router.rb:56:in call' actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:608:incall'
rack-openid (1.4.2) lib/rack/openid.rb:98:in call' actionpack (3.2.19) lib/action_dispatch/middleware/best_standards_support.rb:17:incall'
rack (1.4.5) lib/rack/etag.rb:23:in call' rack (1.4.5) lib/rack/conditionalget.rb:25:incall'
actionpack (3.2.19) lib/action_dispatch/middleware/head.rb:14:in call' actionpack (3.2.19) lib/action_dispatch/middleware/params_parser.rb:21:incall'
plugins/redmine_dmsf/lib/redmine_dmsf/webdav/no_parse.rb:33:in call' actionpack (3.2.19) lib/action_dispatch/middleware/flash.rb:242:incall'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in context' rack (1.4.5) lib/rack/session/abstract/id.rb:205:incall'
actionpack (3.2.19) lib/action_dispatch/middleware/cookies.rb:341:in call' activerecord (3.2.19) lib/active_record/query_cache.rb:64:incall'
activerecord (3.2.19) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in call' actionpack (3.2.19) lib/action_dispatch/middleware/callbacks.rb:28:inblock in call'
activesupport (3.2.19) lib/active_support/callbacks.rb:405:in _run__3044319098586941685__call__674384493501364836__callbacks' activesupport (3.2.19) lib/active_support/callbacks.rb:405:in__run_callback'
activesupport (3.2.19) lib/active_support/callbacks.rb:385:in _run_call_callbacks' activesupport (3.2.19) lib/active_support/callbacks.rb:81:inrun_callbacks'
actionpack (3.2.19) lib/action_dispatch/middleware/callbacks.rb:27:in call' actionpack (3.2.19) lib/action_dispatch/middleware/remote_ip.rb:31:incall'
actionpack (3.2.19) lib/action_dispatch/middleware/debug_exceptions.rb:16:in call' actionpack (3.2.19) lib/action_dispatch/middleware/show_exceptions.rb:56:incall'
railties (3.2.19) lib/rails/rack/logger.rb:32:in call_app' railties (3.2.19) lib/rails/rack/logger.rb:16:inblock in call'
activesupport (3.2.19) lib/active_support/tagged_logging.rb:22:in tagged' railties (3.2.19) lib/rails/rack/logger.rb:16:incall'
actionpack (3.2.19) lib/action_dispatch/middleware/request_id.rb:22:in call' rack (1.4.5) lib/rack/methodoverride.rb:21:incall'
rack (1.4.5) lib/rack/runtime.rb:17:in call' activesupport (3.2.19) lib/active_support/cache/strategy/local_cache.rb:72:incall'
rack (1.4.5) lib/rack/lock.rb:15:in call' actionpack (3.2.19) lib/action_dispatch/middleware/static.rb:63:incall'
rack-cache (1.2) lib/rack/cache/context.rb:136:in forward' rack-cache (1.2) lib/rack/cache/context.rb:245:infetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in lookup' rack-cache (1.2) lib/rack/cache/context.rb:66:incall!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in call' railties (3.2.19) lib/rails/engine.rb:484:incall'
railties (3.2.19) lib/rails/application.rb:231:in call' railties (3.2.19) lib/rails/railtie/configurable.rb:30:inmethod_missing'
passenger (4.0.50) lib/phusion_passenger/rack/thread_handler_extension.rb:74:in process_request' passenger (4.0.50) lib/phusion_passenger/request_handler/thread_handler.rb:141:inaccept_and_process_next_request'
passenger (4.0.50) lib/phusion_passenger/request_handler/thread_handler.rb:109:in main_loop' passenger (4.0.50) lib/phusion_passenger/request_handler.rb:455:inblock (3 levels) in start_threads'

Do you know the reason why the "release note" was removed a year ago?

Thanks,
Steffen

@namezero111111
Copy link
Contributor

Hmm I suppose you should get the same error via the Roadmap->Version link then, right?
It seems like maybe your values don't match up, or older tickets have unrecognized values? You could check the custom_field_values table; with a clean install I don't get this error.

@stewert
Copy link

stewert commented Sep 13, 2014

No, via Roadmap -> [Version] it works . Also if I click then on "create Release Notes" all will be showing fine then

@namezero111111
Copy link
Contributor

I'm not sure; someone removed all the code for the tab. I'm not a Ruby expert at all. It seems something in the config may be misconfigured on your side; it worked for me.
However, the roadmap route seems to work and the plugin does what it advertises. It seems the doc/install procedure is a little out of date!

@stewert
Copy link

stewert commented Sep 15, 2014

I will look later in thw eek if I found something for me.

Thanks for your help! :-) Good evening.

@namezero111111
Copy link
Contributor

Sorry to not be of more help :/
It just seems that "Unrecognised value for +release_notes_value+:" means that the field/values are not correctly configured.
If I were you, I'd poke around in the database table "custom values".
SELECT customized_id FROM custom_values WHERE customized_type='Issue' AND custom_field_id=your_release_notes_field_id_here AND value NOT IN ('your_not_required_value', 'your_tot_value', 'your_finished_value');

This should list all issues IDs that have an invalid value for their release notes. Clean those up and I suppose the error should disappear.

@suganthij
Copy link

Can any one help me, how to start (step by step procedure) with release note plugin. I need to configure it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants