Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-17173

Feedback "Show Responses" fails silently

    Details

    • Type: Bug
    • Status: Open
    • Priority: 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

        Gliffy Diagrams

          Activity

          Hide
          grabs 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
          grabs 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
          andreabix 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
          andreabix 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
          timhunt Tim Hunt added a comment -

          Adjusting bogus fix version.

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

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

          -Paul.

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

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: