プロジェクト

全般

プロフィール

Vote #65678

完了

Add a warning when not choosing a member role

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Projects_11
対象バージョン:
開始日:
2009/09/08
期日:
進捗率:

100%

予定工数:
category_id:
11
version_id:
21
issue_org_id:
3834
author_id:
1463
assigned_to_id:
1188
comments:
12
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Just updated to rev2859 and noticed that the function for adding members to a project now sports a better interface, letting me add several members at a time. However, when I check one or several members and click the button, nothing happens.

This is all that show up in production.log:

Processing MembersController#new (for xxx.xxx.xxx.xxx at 2009-09-08 14:22:15) [POST]
  Parameters: {"commit"=>"Lägg till", "action"=>"new", "member"=>{"user_login"=>"", "user_ids"=>["9"]}, "id"=>"hlf", "controller"=>"members"}
Completed in 25ms (View: 11, DB: 7) | 200 OK [http://www.domain.com/projects/hlf/members/new]

journals

I forgot to supply information about the platform. So sorry! :)

*MySQL:* 5.0.51a-3ubuntu5.4-log
*Ruby:* ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
*Rails:* Rails 2.3.2
Redmine version:* 0.8.4.stable.2859*
--------------------------------------------------------------------------------
Are you using Internet Explorer?

We found that it has problems with some of the ajax / dom routines.

Luckily for me, all my managers agreed to use Firefox/Chrome/Opera, while users can use whatever they want.
--------------------------------------------------------------------------------
Nope, I'm primarily using Firefox 3.5.2 on Mac and I have also tried using Safari. I can see the loading box for a split second, and the nothing gets added.
--------------------------------------------------------------------------------
Fredrik Frodlund wrote:
> *Rails:* Rails 2.3.2
>
> Redmine version:* 0.8.4.stable.2859*

Redmine isn't yet compatible with Rails 2.3.2. Can you post the output from @script/about@ here to see what version Redmine is using?
--------------------------------------------------------------------------------
Sorry, that was a typo. We're using 2.1.2.
--------------------------------------------------------------------------------
Hi,
I'm new to Redmine so apologies if I've got it wrong.

I suspect from the log file that you haven't selected a role for the new member. I can reproduce the error if I just select the new member and apply. If I select a new member and define a role for them then it all works fine. The log file entry then has an extra field role_id=[].

Being the newbie round here I'm not sure how this could be progressed. Hopefully one of the main developers can help. If this is the problem you have seen then I'd suggest either a suitable warning message is flagged up on the web page or the member is added with a default role.

Hope this helps,
Regards
Adrian
--------------------------------------------------------------------------------
Adrian, you are absolutely right! It never occured to me that I had to check the role while I added a new user.

I agree that some sort of warning is needed when a user forgets to check a role as new members are added. I am the living proof here that the are some lacking elements in the interaction of this process.

I'm setting this to resolved, however, we need to bring this issue regarding the interaction flaw to the attention of the developers.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Can you confirm it's ok in 1.0.0 RC ? I see a warning in a prompt when I forget to check a role, is it the desired behavior ?
--------------------------------------------------------------------------------
Ok, got it, sorry! I was looking at the wrong place (project settings instead of user edit page). I'll have a look at it.
--------------------------------------------------------------------------------
I added a warning in r3934.

I did it the same way it's done in project>settings>members, I think it will need a huge refactoring later.
--------------------------------------------------------------------------------
Merged to 1.0-stable for release in 1.0.1.
--------------------------------------------------------------------------------

Admin Redmine さんがほぼ2年前に更新

  • カテゴリProjects_11 にセット
  • 対象バージョン1.0.1_21 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0