Project

General

Profile

Bug #6708

User cannot move to next question

Added by Yannick Warnier almost 8 years ago. Updated over 7 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
Category:
Exercises
Target version:
Start date:
17/09/2013
Due date:
18/09/2013
% Done:

0%

Estimated time:
4.00 h
Spent time:
Complexity:
Challenging
SCRUM pts - complexity:
13

Description

In a very recent course using the Git basis for 1.9.8 (from 2 weeks ago), we had an issue with one of 36 people taking an exam of 25 questions, at the 18th question his test prevented him from clicking "Next question".

Closing his session and re-entering the test fixed the issue but this is obviously not a solution if we have 50,000 users taking an exam (1/36 is still more than 1000 users having the issue).

Apparently, to reproduce, you have to take such an exam and, in the middle of it, open a tab on some other part of the course (or maybe on some other course). I haven't had the opportunity to reproduce it myself but Carlos, in copy, could do it.

This happened in the context of a session (exam created in basic course then taken by student from the session context).

It is very important to fix this issue and ensure it's not in 1.10.

It is likely to be due to a change in (php-)session context and the fact that the "next" button uses that context. All the necessary params to the course context should be literally included in the script called by this button.

There's also a forum post related to this here: http://www.chamilo.org/phpBB3/viewtopic.php?f=15&t=4223&p=19134#p19134

Carlos, tu tienes más información sobre como reproducir el problema?

Julio, el problema ocurrió en la sesión del curso de admin en cursos.beeznest.com (usar un nuevo usuario porque los que están son clientes).


Files

new_tab.jpg (45.2 KB) new_tab.jpg Eric Petitdemange, 18/09/2013 14:56

History

#1

Updated by Julio Montoya almost 8 years ago

  • Status changed from Assigned to Needs more info
  • Assignee changed from Julio Montoya to Yannick Warnier

me parece que esto es lo mismo que https://task.beeznest.com/issues/6524

Esta arreglado en la 1.10 la he pasado a la 1.9.x

Habría que verificar si el problema persiste luego de esta correción:

en 1.9
https://github.com/chamilo/chamilo-lms/commit/9e045b85cfb0fbffb504d6827c4288e2d2a729e9

en la 1.10

https://github.com/chamilo/chamilo-lms/commit/c81a0fdb69863886881b48033c5c848388b5f50e

he agregado un comment en el foro tambien.

#2

Updated by Eric Petitdemange almost 8 years ago

Hi Guys,

Luckily you encountered the issue...

We sometimes do have this, but nowadays (since the fix for IE was done), I see this more often on opened question.
Multiple choice doesn't seem to have the issue here.

#3

Updated by Carlos Vargas almost 8 years ago

Donde se puede testear la 1.10

#4

Updated by Julio Montoya almost 8 years ago

Carlos Vargas wrote:

Donde se puede testear la 1.10

He enviado la corrección a la 1.9x también.
Es posible de probarlo aqui:

https://stable.chamilo.org/

#5

Updated by Julio Montoya almost 8 years ago

Coursenligne 45 wrote:

Hi Guys,

Luckily you encountered the issue...

We sometimes do have this, but nowadays (since the fix for IE was done), I see this more often on opened question.
Multiple choice doesn't seem to have the issue here.

Hello Eric,

I sent a fix that I guess is the cause of this bug. Some tests need to be done. The fix is already applied here:

https://stable.chamilo.org/

#6

Updated by Eric Petitdemange almost 8 years ago

OK, Added some questions to https://stable.chamilo.org/courses/0TESTGUILLEMETS/index.php
I'm testing 3times :
1- just the test itself
2- testing with opening new tabs....

1- working fine
2- I can't go to next page => Error I join a pic.

I quit the platform.
Try to see using my credentials:
coursenligne
cel

this allows you to see where I'm stuck!

#7

Updated by Eric Petitdemange almost 8 years ago

Oups forgot to tell what I wanted to achieve on 3, this was to go twice on the platform, but no needs as in step 2 I get the issue.

Using IE9 (not allowed to upgrade here).
I haven't tested on FF, but I got issues according to some trainees

#8

Updated by Julio Montoya almost 8 years ago

  • Status changed from Needs more info to Needs testing
  • Assignee deleted (Yannick Warnier)

Coursenligne 45 wrote:

OK, Added some questions to https://stable.chamilo.org/courses/0TESTGUILLEMETS/index.php
I'm testing 3times :
1- just the test itself
2- testing with opening new tabs....

1- working fine
2- I can't go to next page => Error I join a pic.

I quit the platform.
Try to see using my credentials:
coursenligne
cel

this allows you to see where I'm stuck!

Hi Eric,

I login as your user in stable.chamilo and did some tests and it works fine for me. Tested in chrome.
Sadly I don't have ie9 at the moment ...

Did you notice any javascript error at the status bar in ie9?

#9

Updated by Eric Petitdemange almost 8 years ago

Hi Julio,

The thing is that for a reason I can't explain, I can't see the status bar.
I firstly thought it was my windows bar causing this (so status bar hidden...), I switched on a second screen and get the same thing regardless the size I assign to the indow.

#10

Updated by Eric Petitdemange almost 8 years ago

Just made a new test on stable.chamilo,
It's working fine, the only thing is that the status bar states javascript// for a few seconds and the "transfer from stable... and then the it displays next question.

So the only remaining thing is that if you open a second tab, it a bit slower than without the extra-tab.

#11

Updated by Yannick Warnier over 7 years ago

  • Status changed from Needs testing to Bug resolved
  • Assignee set to Julio Montoya
  • Priority changed from Urgent to Normal

The javascript:// is a consequence of using only javascript for this button (the link should actually point to the next question anyway so that JavaScript is not a requirement), but that's another story.

I'm consciously ignoring the fact that it is slower with a second tab here as this is not expected user behaviour, but the exercise system is relatively different in 1.10, so not really worth the extra effort here.

Also available in: Atom PDF