m-ramizraja / redmine_group_owners Goto Github PK
View Code? Open in Web Editor NEWThis plugin let admins select one or more users as group owner to manage group.
This plugin let admins select one or more users as group owner to manage group.
Redmine 2.4.2
Started GET "/groups/307/edit" for 127.0.0.1 at 2014-01-27 10:35:59 +0400
Processing by GroupsController#edit as HTML
Parameters: {"id"=>"307"}
Current user: amirotin (id=1)
Rendered groups/_form.html.erb (1.7ms)
Rendered groups/_general.html.erb (3.7ms)
Rendered groups/_users.html.erb (29.7ms)
Rendered groups/_memberships.html.erb (10.0ms)
Rendered plugins/redmine_group_owners/app/views/groups/_owners.html.erb (374.6ms)
Rendered common/_tabs.html.erb (421.2ms)
Rendered groups/edit.html.erb within layouts/admin (422.8ms)
Completed 500 Internal Server Error in 430.3ms
ActionView::Template::Error (undefined method `render_principals_for_new_group_owners' for #<#<Class:0x00000003724bf8>:0x00000007dcca60>):
34: <%= javascript_tag "observeSearchfield('owner_search', null, '#{ escape_javascript autocomplete_for_owner_group_path(@group) }')" %>
35:
36: <div id="owners">
37: <%= render_principals_for_new_group_owners(@group) %>
38: </div>
39:
40: <p><%= submit_tag l(:button_add) %></p>
app/views/common/_tabs.html.erb:24:in `block in _app_views_common__tabs_html_erb__2984703629882627121_30278160'
app/views/common/_tabs.html.erb:23:in `each'
app/views/common/_tabs.html.erb:23:in `_app_views_common__tabs_html_erb__2984703629882627121_30278160'
app/helpers/application_helper.rb:320:in `render_tabs'
app/views/groups/edit.html.erb:3:in `_app_views_groups_edit_html_erb__1180246796905140068_29789520'
Hello,
When I enter administration->groups I get Internal Error. Here is my log:
ActionView::Template::Error (undefined method title' for #<#<Class:0x007f0618ef0450>:0x007f0619669ad8>): 2: <%= link_to l(:label_group_new), new_group_path, :class => 'icon icon-add' %> 3: </div> 4: 5: <%= title l(:label_group_plural) %> 6: 7: <% if @groups.any? %> 8: <table class="list groups"> plugins/redmine_group_owners/app/views/groups/index.html.erb:5:in
_plugins_redmine_group_owners_app_views_groups_index_html_erb___4124678485711672383_69832232725480'
actionpack (3.2.13) lib/action_view/template.rb:145:in block in render' activesupport (3.2.13) lib/active_support/notifications.rb:125:in
instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in render' actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:47:in
block (2 levels) in render_template'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in block in instrument' activesupport (3.2.13) lib/active_support/notifications.rb:123:in
block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in instrument' activesupport (3.2.13) lib/active_support/notifications.rb:123:in
instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in instrument' actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:46:in
block in render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:54:in render_with_layout' actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:45:in
render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:18:in render' actionpack (3.2.13) lib/action_view/renderer/renderer.rb:36:in
render_template'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:17:in render' actionpack (3.2.13) lib/abstract_controller/rendering.rb:110:in
_render_template'
actionpack (3.2.13) lib/action_controller/metal/streaming.rb:225:in _render_template' actionpack (3.2.13) lib/abstract_controller/rendering.rb:103:in
render_to_body'
actionpack (3.2.13) lib/action_controller/metal/renderers.rb:28:in render_to_body' actionpack (3.2.13) lib/action_controller/metal/compatibility.rb:50:in
render_to_body'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:88:in render' actionpack (3.2.13) lib/action_controller/metal/rendering.rb:16:in
render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in block (2 levels) in render' activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in
block in ms'
/usr/local/lib/ruby/2.0.0/benchmark.rb:296:in realtime' activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in
ms'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in block in render' actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:83:in
cleanup_view_runtime'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:24:in cleanup_view_runtime' actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:39:in
render'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:10:in default_render' actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:196:in
respond_to'
plugins/redmine_group_owners/lib/group_owners/patches/groups_controller_patch.rb:20:in index_with_owner' actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in
send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in process_action' actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in
process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in block in process_action' activesupport (3.2.13) lib/active_support/callbacks.rb:469:in
_run__1105362148345568608__process_action__1155418521551888356__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in __run_callback' activesupport (3.2.13) lib/active_support/callbacks.rb:385:in
_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in run_callbacks' actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in
process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in process_action' actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in
block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in block in instrument' activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in
instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in run_callbacks' actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in
process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in process_action' actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in
block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in block in instrument' activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in
instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in instrument' actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in
process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in process_action' activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in
process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in process' actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in
process'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in dispatch' actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in
dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in block in action' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in
call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in dispatch' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in
call'
journey (1.0.4) lib/journey/router.rb:68:in block in call' journey (1.0.4) lib/journey/router.rb:56:in
each'
journey (1.0.4) lib/journey/router.rb:56:in call' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in
call'
rack-openid (1.4.1) lib/rack/openid.rb:99:in call' actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in
call'
rack (1.4.5) lib/rack/etag.rb:23:in call' rack (1.4.5) lib/rack/conditionalget.rb:25:in
call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in call' actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in
call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in call' rack (1.4.5) lib/rack/session/abstract/id.rb:210:in
context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in call' actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in
call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in call' activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in
call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in block in call' activesupport (3.2.13) lib/active_support/callbacks.rb:405:in
_run__116648924839853306__call__3005220293873847025__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in __run_callback' activesupport (3.2.13) lib/active_support/callbacks.rb:385:in
_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in run_callbacks' actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in
call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in call' actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in
call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in
call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in call_app' railties (3.2.13) lib/rails/rack/logger.rb:18:in
call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in call' rack (1.4.5) lib/rack/methodoverride.rb:21:in
call'
rack (1.4.5) lib/rack/runtime.rb:17:in call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in
call'
rack (1.4.5) lib/rack/lock.rb:15:in call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in
call'
railties (3.2.13) lib/rails/engine.rb:479:in call' railties (3.2.13) lib/rails/application.rb:223:in
call'
railties (3.2.13) lib/rails/railtie/configurable.rb:30:in method_missing' passenger (4.0.33) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in
process_request'
passenger (4.0.33) lib/phusion_passenger/request_handler/thread_handler.rb:141:in accept_and_process_next_request' passenger (4.0.33) lib/phusion_passenger/request_handler/thread_handler.rb:109:in
main_loop'
passenger (4.0.33) lib/phusion_passenger/request_handler.rb:440:in `block (3 levels) in start_threads'
Hi!
Found an issue with auto register URL
In application_controller_patch.rb, module InstanceMethods you have:
Group.where.not(:auto_register_url => nil).each do |group|
Then if you'll at first set Auto-register URL to some group, and then clear it, group record will have empty char in auto_register_url field instead of null. Therefore :auto_register_url => nil is false and anyone, who reaches root redmine url will be added to such group.
Redmine 3.4.*
Postgres 9.6.2
Hi!
Great plugin, just what i searched for!
Would you please explain, how can i use aout-add URL feature, because i can't get it.
Just an example.
Tried to set full URL and relative and just a word, and then to go to that url, but nothing worked.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.