Moodle

Backported Feedback "Show Responses" fails silently

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.9.3
  • Fix Version/s: STABLE backlog
  • Component/s: Feedback
  • Labels:
    None
  • Environment:
    Debian Etch, PHP Version 5.2.0-8+etch13
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE

Description

When creating feedback in Moodle 1.9.3, the Tab "Show responses" fails silently without any error, even with debug set to ALL.

When clicking on "Show response" tab, page header as well page tabs are shown, but the HTML source is stopped at the following line:

....omissis.....

<!-- END OF HEADER -->
<div id="content">

<div class="tabtree">
<ul class="tabrow0">
<li class="first"><a href="http://mydomain.tld/mod/feedback/view.php?id=30716&do_show=view" title="Overview"><span>Overview</span></a> </li>
<li><a href="http://mydomain.tld/mod/feedback/edit.php?id=30716&do_show=edit" title="Edit questions"><span>Edit questions</span></a> </li>
<li><a href="http://mydomain.tld/mod/feedback/edit.php?id=30716&do_show=templates" title="Templates"><span>Templates</span></a> </li>
<li><a href="http://mydomain.tld/mod/feedback/analysis.php?id=30716&courseid=&do_show=analysis" title="Analysis"><span>Analysis</span></a> </li>
<li class="last onerow here selected"><a class="nolink"><span>Show responses</span></a><div class="tabrow1 empty"> </div>
</li>
</ul>
</div><div class="clearer"> </div> ******* page stops here

Attached a screenshot.

Module version: 2008050111 from moodle_19_stable contrib branch

Activity

Hide
Andreas Grabs added a comment -

Hi Andrea,

it seems to be a memory_limit problem. If you have a large number of users on your site so it can appear.
Please have a look at this issue: MDL-17005
(http://tracker.moodle.org/browse/MDL-17005)

Andreas

Show
Andreas Grabs added a comment - Hi Andrea, it seems to be a memory_limit problem. If you have a large number of users on your site so it can appear. Please have a look at this issue: MDL-17005 (http://tracker.moodle.org/browse/MDL-17005) Andreas
Hide
Andrea Bicciolo added a comment -

Hi Andreas,
thank you for your answer. I used the workaround as per MDL-17005 and the problem disappeared. Sites has about 40k users.

Also tested leaving Authenticated user role to default and overriding only in courses, and also worked.

Unsure if the best default is allowing Authenticated users to submit feedback, or let Admin/Teachers override the role when needed. 1.9 also added the front page default role, so probably it could be safer to change the default permission: what do you think ?

Andrea

Show
Andrea Bicciolo added a comment - Hi Andreas, thank you for your answer. I used the workaround as per MDL-17005 and the problem disappeared. Sites has about 40k users. Also tested leaving Authenticated user role to default and overriding only in courses, and also worked. Unsure if the best default is allowing Authenticated users to submit feedback, or let Admin/Teachers override the role when needed. 1.9 also added the front page default role, so probably it could be safer to change the default permission: what do you think ? Andrea
Hide
Tim Hunt added a comment -

Adjusting bogus fix version.

Show
Tim Hunt added a comment - Adjusting bogus fix version.
Hide
Paul Vaughan added a comment -

FWIW, the fix of changing "mod/feedback:complete" to 'not set' in MDL-17005 worked for us.

-Paul.

Show
Paul Vaughan added a comment - FWIW, the fix of changing "mod/feedback:complete" to 'not set' in MDL-17005 worked for us. -Paul.

People

Vote (1)
Watch (3)

Dates

  • Created:
    Updated: