two-pack / redmine_auto_assign_group

Redmine Auto Assign Group Plugin
GNU General Public License v2.0
10 stars 1 forks source link

Not working correctly with the global_roles plugin #3

Closed ghost closed 4 years ago

ghost commented 6 years ago

Hello, @two-pack

I don't see Rules tab at Administration -> Groups -> My group :-( after plugin was installed.

two-pack commented 6 years ago

Thank you for reporting issue :) But I cannot reproduce it. I check Redmine 3.4.6 and latest the plugin, and I can see following Rules tab. screenshot_on_3 4 6

Please check followings:

  1. Check again install instruction, https://github.com/two-pack/redmine_auto_assign_group#installation
  2. Is succeed install this plugin? Check Administration -> Plugins.
  3. Cloud you show your environment like /admin/info ?
two-pack commented 5 years ago

More information for this issue? I close this issue if no more information by the end of September.

marvinwener commented 5 years ago

I have the same issue on Redmine 3.4.5. I'm using postgres as database. I do have other plugins which could interfere. I'll try to do some tests.

marvinwener commented 5 years ago

Some logging:

Processing by WelcomeController#index as HTML Current user: admin (id=1) Deface: [ERROR] The original source for 'add-body-header' has changed, this override should be reviewed to ensure it's still valid. Rendered plugins/additionals/app/views/welcome/_overview_right.html.slim (7.1ms) Rendered welcome/index.html.erb within layouts/base (145.6ms) Rendered plugins/a_common_libs/app/views/hooks/a_common_libs/_html_head.html.erb (15.4ms) Rendered plugins/bestest_timer/app/views/bestest_timer/_bestest_timer_partial.html.erb (11.1ms) Rendered plugins/extra_queries/app/views/extra_queries/hooks/_html_head.html.erb (0.8ms) Rendered plugins/global_roles/app/views/hooks/global_roles/_head.html.erb (0.7ms) Rendered plugins/rm_user_mentions/app/views/hooks/rum/_head.html.erb (3.2ms) Rendered inline template (0.6ms) Rendered plugins/additionals/app/views/additionals/_html_head.html.slim (25.3ms) Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (0.3ms) Rendered plugins/additionals/app/views/additionals/_content.html.slim (21.8ms) Rendered plugins/global_roles/app/views/hooks/global_roles/_view_layouts_base_body_bottom.html.erb (0.4ms) Rendered plugins/additionals/app/views/additionals/_body_bottom.html.slim (6.2ms)

two-pack commented 5 years ago

@marvinwener

Thank You for reporting. Please check followings:

  1. Check again install instruction, https://github.com/two-pack/redmine_auto_assign_group#installation
  2. Is succeed install this plugin? Check Administration -> Plugins.
  3. Cloud you show your environment like /admin/info ?
marvinwener commented 5 years ago

@two-pack I managed to get the plugin workin on a clean installation. I will gradually add the other plugins to see what is causing the incompatibility

marvinwener commented 5 years ago

@two-pack Your plugin seems to not be compatible in combination with the global_roles plugins

Environment:
  Redmine version                3.4.6.stable
  Ruby version                   2.3.1-p112 (2016-04-26) [i386-linux-gnu]
  Rails version                  4.2.8
  Environment                    production
  Database adapter               PostgreSQL
SCM:
  Filesystem                     
Redmine plugins:
  a_common_libs                  2.4.0
  global_roles                   2.2.1
  redmine_auto_assign_group      0.1.0
  redmine_issue_tabs             1.3.0
  redmine_tags                   3.2.2
  sidebar_hide                   0.0.8
two-pack commented 5 years ago

@marvinwener Thanks! I'll check it :grin:

two-pack commented 5 years ago

I could reproduce this problem with global_roles plugin.

two-pack commented 5 years ago

This problem is caused by a conflict of global roles and auto assign group. I think that I cannot the problem only fixing auto assign group, need to fix global roles too. And I don't look for workaround, I need more time to get it.

Research memo

marvinwener commented 5 years ago

@two-pack Can I fix this locally? I have another plugin that uses the same construction with the GroupController. I need both plugins, but I'm lacking the rules tab now.

two-pack commented 5 years ago

@marvinwener What another plugin do do you use?

marvinwener commented 5 years ago

@two-pack I use the Email Notifications plugin: https://github.com/jrupesh/event_notifications

two-pack commented 5 years ago

@marvinwener Sorry, I don't find how to fix it.

two-pack commented 4 years ago

I won't fix this problem because it is occurred by plugin conflict.