Smile-SA/redmine_smile_auto_user_activation

Group filter on user-add window stop working with plugin

Opened this issue · 3 comments

If you go to group list in admin setting, then open any group and click on "Add user" link, small form with user search opens.

On this from there is a group-filter combobox, where you can select a group just to filter users.

After plugin install this combobox stops filtering users - just nothing happens when you choose a group.

Hi @danaivehr,

After plugin install this combobox stops filtering users - just nothing happens when you choose a group.

Do you mean when you choose a user ?
Tested with Redmine 4.1 and it works.
Do you have any error in the javascript console ? and do you have some Error 500 in your log file ?

It will be better to show on example.

Let's create some group and add two users in it:

image

Then create another group and try to add some users of first group there:

  • New user
  • Then choose first group as a filter

image

As you can see, form shows all users in list, while it should show only two of them (those who in first group)

I use Redmine 3.4.
No errors in js console, only deprecation warning:
jquery-1.11.1-ui-1.11.0-ujs-3.1.4.js?1499002213:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
No 500 errors in logs.
Just like that filter group selector do nothing.