Moodle

Wrong Index Page for quizzes

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.8
  • Fix Version/s: 1.8.3, 1.9
  • Component/s: Quiz
  • Labels:
    None
  • Affected Branches:
    MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_18_STABLE, MOODLE_19_STABLE

Description

I found this confusing behaviour in one of my 1.8 systems. The index page shows in one course a correct table about the quizzes in an other course not.

See the screens. Do you have any idea what happens.

Activity

Hide
Tim Hunt added a comment -

Can you provide more details about the problem you are seeing.

The URL of the index page is http://example.com/mod/quiz/index.php?id=[courseid]

Are you saying that sometimes, when you are at the URL http://example.com/mod/quiz/index.php?id=X, sometimes shows the table for course Y, or are you saying that sometimes when you are in course X, the link that takes you to the index page goes to the URL http://example.com/mod/quiz/index.php?id=Y. In the second case, where is the bad link.

Show
Tim Hunt added a comment - Can you provide more details about the problem you are seeing. The URL of the index page is http://example.com/mod/quiz/index.php?id=[courseid] Are you saying that sometimes, when you are at the URL http://example.com/mod/quiz/index.php?id=X, sometimes shows the table for course Y, or are you saying that sometimes when you are in course X, the link that takes you to the index page goes to the URL http://example.com/mod/quiz/index.php?id=Y. In the second case, where is the bad link.
Hide
Ralf Hilgenstock added a comment -

http://18.moodle.de/mod/quiz/index.php?id=2
this is the URL of the bad version.

Here is the correct URL: http://18.moodle.de/mod/quiz/index.php?id=3

The table in course 2 is the table for course 2 at every time.
The tablein course 3 is the table for course 3. Thats not the problem.

bad code:
<tbody><tr><th class="header c0" scope="col">Name</th><th class="header c1" scope="col">Quiz closes</th><th class="header c2" scope="col">Attempts</th></tr>

correct code:
<tbody><tr><th class="header c0" scope="col">Topic</th><th class="header c1" scope="col">Name</th><th class="header c2" scope="col">Quiz closes</th><th class="header c3" scope="col">Attempts</th></tr>

Show
Ralf Hilgenstock added a comment - http://18.moodle.de/mod/quiz/index.php?id=2 this is the URL of the bad version. Here is the correct URL: http://18.moodle.de/mod/quiz/index.php?id=3 The table in course 2 is the table for course 2 at every time. The tablein course 3 is the table for course 3. Thats not the problem. bad code: <tbody><tr><th class="header c0" scope="col">Name</th><th class="header c1" scope="col">Quiz closes</th><th class="header c2" scope="col">Attempts</th></tr> correct code: <tbody><tr><th class="header c0" scope="col">Topic</th><th class="header c1" scope="col">Name</th><th class="header c2" scope="col">Quiz closes</th><th class="header c3" scope="col">Attempts</th></tr>
Hide
Tim Hunt added a comment -

I still do not understand what your problem is.

Show
Tim Hunt added a comment - I still do not understand what your problem is.
Hide
Ralf Hilgenstock added a comment -

Tim,

the problem is that there is a course and the table is not shown correct:
http://tracker.moodle.org/secure/attachment/11068/11068_capture_13042007_125804.jpg

Show
Ralf Hilgenstock added a comment - Tim, the problem is that there is a course and the table is not shown correct: http://tracker.moodle.org/secure/attachment/11068/11068_capture_13042007_125804.jpg
Hide
Tim Hunt added a comment -

Please read http://docs.moodle.org/en/Tracker#General_reporting_guidelines, especially the two examples of what a clear bug report looks like. I still have not got the faintest idea what your problem is, and if you want me do fix something, it is up to you to explain in clearly enough for me to understand.

Show
Tim Hunt added a comment - Please read http://docs.moodle.org/en/Tracker#General_reporting_guidelines, especially the two examples of what a clear bug report looks like. I still have not got the faintest idea what your problem is, and if you want me do fix something, it is up to you to explain in clearly enough for me to understand.
Hide
Ralf Hilgenstock added a comment -

Sorry Tim, I tried to explain it and to show it with two screenshots.

First I tried also to duplicate the problem. But I couldn't. It only happend in one course.

Now I found the context. Its a problem with the weekly course format/ CSS. Only in this courseformat the table column is is wrong displayed.

Hope this helps.
Ralf.

Show
Ralf Hilgenstock added a comment - Sorry Tim, I tried to explain it and to show it with two screenshots. First I tried also to duplicate the problem. But I couldn't. It only happend in one course. Now I found the context. Its a problem with the weekly course format/ CSS. Only in this courseformat the table column is is wrong displayed. Hope this helps. Ralf.
Hide
Tim Hunt added a comment -

MDL-10338 may have been part of this.

Also, the only other problem I can see is that if you are a teacher, and there is a quiz that no students have attempted yet, the last column is missing, and I have fixed that.

Apart from that, it looks fine to me in both course formats.

If there are any further problems, please can you clearly explain what you think is wrong.

Show
Tim Hunt added a comment - MDL-10338 may have been part of this. Also, the only other problem I can see is that if you are a teacher, and there is a quiz that no students have attempted yet, the last column is missing, and I have fixed that. Apart from that, it looks fine to me in both course formats. If there are any further problems, please can you clearly explain what you think is wrong.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: