Project

General

Profile

Bug #5963

Assignments in session doesn't work

Added by Eric Petitdemange over 7 years ago. Updated about 7 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
Category:
Assignments / Work
Target version:
Start date:
13/02/2013
Due date:
% Done:

0%

Estimated time:
Spent time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

Hi guys,

Using 1.9.6 nightly 12 (update from a previous fresh instal of 1.9.6 on a test server), I created assignment (mainly to answer a forum question about it) and discover that:
- Assigment works fine if you register trainees directly in the course [Administration => Course => Register users in a course]
- Assignment will be seen as a blank page if the trainee and course are in a session.

I post 2 screenshots in case this helps...
Assignment is taken when the trainee is registered directly in the course
Assignment1 is taken when the trainee is registered into a session.


Files

assignment.jpg (61.1 KB) assignment.jpg Eric Petitdemange, 13/02/2013 10:42
assignment1.jpg (61.5 KB) assignment1.jpg Eric Petitdemange, 13/02/2013 10:42
work.lib.php (85.4 KB) work.lib.php Yoselyn Castillo, 04/03/2013 09:37

Related issues

Related to Chamilo LMS - Bug #5968: Session - functionalities don't work in sessions, classes...New14/02/2013

Actions

History

#1

Updated by Yoselyn Castillo over 7 years ago

  • Status changed from New to Assigned
  • Assignee set to Yoselyn Castillo

I am checking this...

#2

Updated by Yoselyn Castillo about 7 years ago

  • Status changed from Assigned to Needs more info
  • Assignee changed from Yoselyn Castillo to Eric Petitdemange

Well, i have made many tests, and i always could see the assignments in sessions even users have been subscribed in session. Please, if it is possible, specify a little more the steps or way for reproducing the bug. Thanks

#3

Updated by Eric Petitdemange about 7 years ago

OK here the way I tested (from scratch)
1- create a new trainee (a is good as fast to cretate)
2- Create a new course
3- Create an assignment (allowing online text to ease it!)
4- Still in the course, create a LP with one intro page and still in the LP creation, go to assignment and point it out (it will be on page 2 of the LP)
5- Create a session starting date today, register the course and the trainee
6- logout as admin, and login as trainee
7- go to LP and page 1 is displayed, when the LP goes to assignmment it will be empty.

To "make it working":
Do process from 1 to 5
6- remove the session
7- register the trainee directly into the course
8- logout as admin and login as trainee => the assignment is displayed

Note: no other changes are perform rather than the process I just gave; it is therefore not a display issue (rights from assignment) or whatever.
Bug exists as well using 1.9.6 nightly 27

Last but not least, if you have both registered your trainee directly to the course and in the session, the direct access works, the access through the session doesn't (same trainee, same assignment, same LP)

I hope this helps to troubleshoot

#4

Updated by Yoselyn Castillo about 7 years ago

  • Status changed from Needs more info to Assigned
  • Assignee changed from Eric Petitdemange to Yoselyn Castillo

Trying to reproduce again..

#5

Updated by Yoselyn Castillo about 7 years ago

Well, the problem is not in LP, but sessions conditions don't permit to show assignments. I have removed sessions conditions from display_student_publications_list function. Test it uploading this file in main/work/work.lib.php.
Julio, isn't it a problem to show assignments in session?

#6

Updated by Eric Petitdemange about 7 years ago

Hi Thanks for your investigation and answer :)

For my point of view, all feature presented by the platform should be available in sessions, as the session is the course with restricted access (dates of availability and so on), but all the course needs should be the same (the LP is built exactly the same way regardless you are using a session).

The problem (and this is the whole story) is not only assignment, but follow-up is not working, grades is not working....

I just stated assignment as so it is very simple to try and very easy to see what happens, but for example, there is a feature that is very handy but can't be used in session: recap of the answers.

If you register students directly into a course, you can have a follow-up by question (number of people that answered and visibility of the answers); if you register the students into a session, this feature doesn't work (all is 0)....
I need to generate certificates, but beacuase of this I can't achieve it so far :(

I hope session will allow access to all features soon...; Good Luck guys!

#7

Updated by Eric Petitdemange about 7 years ago

Hi Yoselyn,
I am a bit confused, as you first said: "Well, i have made many tests, and i always could see the assignments in sessions even users have been subscribed in session. Please, if it is possible, specify a little more the steps or way for reproducing the bug. Thanks"

I stated my process and you replied: "Well, the problem is not in LP, but sessions conditions don't permit to show assignments. I have removed sessions conditions from display_student_publications_list function. Test it uploading this file in main/work/work.lib.php.
Julio, isn't it a problem to show assignments in session?"

Could you give me the process you first used to make it working, as I am prepared to try your method; again, it is not just the assignment, but all other features than LP or Exercises (tests).
As I'm so far using 100% session, I would really be glad if I could get the whole platform working in these conditions.
Thanks for your help.

#8

Updated by Eric Petitdemange about 7 years ago

Just tested with the new "work.lib" and it is working.

Is there a lot of things to do so the other features are working the same way?

THANKSSSSSSS !!!

#9

Updated by Eric Petitdemange about 7 years ago

In the same kind of issue, survey can only be assigned to a trainee if directly registered.
Impossible to get a trainee registered in a survey if using session.

#10

Updated by Yannick Warnier about 7 years ago

  • Category set to Assignments / Work
  • Target version set to 1.9.6
#11

Updated by Yannick Warnier about 7 years ago

Coursenligne 45 wrote:

In the same kind of issue, survey can only be assigned to a trainee if directly registered.
Impossible to get a trainee registered in a survey if using session.

Please register a new task for each case. Sorry, but otherwise it becomes impossible to identify what fix did fix what problem.

#12

Updated by Eric Petitdemange about 7 years ago

  • Status changed from Assigned to Bug resolved

Assignment is working fine on stable.chamilo

Also available in: Atom PDF