Bug #5634
GRB - Adding a group to an annoucement, we don't see the number of users in the group
Description
Hi,
I've got a course with some groups.
I want to add an annoucement, I see my course groups when I want to choice the recipient of my annoucement, but I don't see the number of user of each group, like before.
See attached
(we still have the problem of too narrow select box)
Files
Associated revisions
Display all groups in annoucement form select - ref #5634
Fix move group from annoucement - ref #5634
History
Updated by Julio Montoya over 8 years ago
- Status changed from New to Assigned
- Assignee set to Julio Montoya
Updated by Julio Montoya over 8 years ago
- Status changed from Assigned to Needs testing
- Assignee deleted (
Julio Montoya) - % Done changed from 0 to 50
should be fixed now
Updated by Hubert Borderiou over 8 years ago
Ok, that's fine for the number of users in a group
I think we should see all groups, even if there empty or not.
(see related http://support.chamilo.org/issues/5635)
Updated by Julio Montoya about 8 years ago
hi there,
You want to send annoucement to an empty group?
Updated by Hubert Borderiou about 8 years ago
Hi,
your question is justified.
I don't want to send an annoucement to an empty group, because the group is ...empty ;-) but I am aware of it because I see the number of user in a group in the list.
I want to send an annoucement to a group, or some groups, and the fact that a group is empty is a second information.
In the group list, I know how many people there are in my list, so when I pick up groups for the annoucement, I know if a group is empty. And even if I send an annoucement to an empty group, it will be without consequence.
I think we don't have to shorten or filter this list because we think it's going to be better or easier.
It is quite disturbing not to see all groups in the list, otherwise we force teacher to wonder why some has disapeared
"Ok, this is my group list, but I don't recognize it... it misses some of my groups... a bug ? why ? I check... ... ... oh, these groups are empty ? may be that's why I don't see them in the group list ? don't have time to think about it..."
It is a good thing that the teacher recognize the organization of his course. If he creates a new group in the Group tool, he sees it instantaneously in other tools, he recognize the structure of his course in each tools. That's important, I think.
Giving him the number of people for each group is perfect.
Updated by Hubert Borderiou about 8 years ago
Done
http://code.google.com/p/chamilo/source/detail?r=29fdfa04cf75e38173d7afd9e198302845981559&name=1.9.x&repo=classic
Empty groups are displayed and are disabled in the menu.
Updated by Yoselyn Castillo about 8 years ago
- Status changed from Needs testing to Assigned
- Assignee changed from Hubert Borderiou to Yoselyn Castillo
checking...
Updated by Yoselyn Castillo about 8 years ago
- File annoucement.png annoucement.png added
- Assignee changed from Yoselyn Castillo to Julio Montoya
Groups are displayed with the correct number of users
Empty groups are displayed and are disabled in the menu, But when you try to add a group with 0 users again you can do it, see the attachment, i have added group with 0 users.
Updated by Julio Montoya about 8 years ago
- Assignee changed from Julio Montoya to Hubert Borderiou
Yoselyn Castillo wrote:
Groups are displayed with the correct number of users
Empty groups are displayed and are disabled in the menu, But when you try to add a group with 0 users again you can do it, see the attachment, i have added group with 0 users.
I think that the option "Group X users 0" should be disabled:
Something like:
<option disabled="disabled" value="volvo">Volvo</option>
Updated by Hubert Borderiou about 8 years ago
Hi, it is disabled in Test Platform which not use minified js files.
I put a comm in the googlecode file "Hi didn't send the resources/js/main.js minified."
In a Prod Platform, it stil uses the previous file resources/js/main.min.js
You need to minify the file resources/js/main.js before using it.
You can test the fix changing your platform to test mode.
Updated by Hubert Borderiou about 8 years ago
- Subject changed from Adding a group to an annoucement, we don't see the number of users in the group to GRB - Adding a group to an annoucement, we don't see the number of users in the group
- Priority changed from Normal to High
Updated by Julio Montoya about 8 years ago
- Status changed from Assigned to Needs testing
- Assignee changed from Hubert Borderiou to Yoselyn Castillo
I deleted the minified version, now we use always the main.js version
For managing minify js see #4757
So now it could be tested.
Updated by Yoselyn Castillo about 8 years ago
- Status changed from Needs testing to Assigned
- Assignee changed from Yoselyn Castillo to Julio Montoya
Results of my test:
I have a course with 3 groups
1 group has 1 user
2 groups have 0 users
I created an announcement
i can't send the announcement to groups with 0 users because they are disabled in left listbox(that's ok)
I selected to send the announcement to the group with 1 users, but later i realized it was not correct and i removed that group from the right list(with << arrow)
Later that group is disabled too in left list like groups with 0 users
In brief, when you remove a group from right listbox it becomes disabled in left list
Updated by Julio Montoya about 8 years ago
- Assignee changed from Julio Montoya to Hubert Borderiou
Updated by Hubert Borderiou about 8 years ago
I confirm the bug, I'm going to fix it.
http://code.google.com/p/chamilo/source/detail?r=ab48f19c3482fe87cfd1a9eaa790b029a46b77b3&name=1.9.x&repo=classic
Updated by Hubert Borderiou about 8 years ago
- Status changed from Assigned to Needs testing
- Assignee deleted (
Hubert Borderiou)
Updated by Yannick Warnier about 8 years ago
- Assignee set to Yoselyn Castillo
Hi Yoselyn,
Please review the latest test case from Hubert and, if everything works well, please close (Bug resolved). Thanks
Updated by Yoselyn Castillo about 8 years ago
- Status changed from Needs testing to Bug resolved
it works fine now.
I have a course with 2 groups
1 group has 2 user
1 groups have 0 users
I created an announcement
i can't send the announcement to groups with 0 users because they are disabled in left listbox(that's ok)
I selected to send the announcement to the group with 1 user
later i could removed that group from the right list(with << arrow)
The same happens with users.
So it can be closed
Fixing number of users see #5634