Moodle
  1. Moodle
  2. MDL-29011

Removing enroll capabilities from teacher role causes 'php coding error' message

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.1, 2.2
    • Fix Version/s: 2.1.2
    • Component/s: Enrolments
    • Labels:
    • Environment:
      CentOS Linux 2.6.18-8.1.15.el5 #1 SMP Mon Oct 22 08:32:28 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
      MemTotal: 4048036 kB
    • Rank:
      18704

      Description

      I have a site that I need to disallow teachers from manually enrolling students in their courses.

      If I take this capability away from a teacher, then login as a teacher, click 'Users' | 'Enrolled users' I receive a page with

      "Coding error detected, it must be fixed by a programmer: PHP catchable fatal error"

        Activity

        Hide
        Petr Škoda added a comment -

        Thanks for the report, it should be fixed in the next weekly integration build.

        Show
        Petr Škoda added a comment - Thanks for the report, it should be fixed in the next weekly integration build.
        Hide
        Eloy Lafuente (stronk7) added a comment -

        Integrated, thanks!

        Show
        Eloy Lafuente (stronk7) added a comment - Integrated, thanks!
        Hide
        Rajesh Taneja added a comment -

        Works Great
        Thanks for fixing this Petr

        Show
        Rajesh Taneja added a comment - Works Great Thanks for fixing this Petr
        Hide
        Eloy Lafuente (stronk7) added a comment -

        Many thanks for the hard work, this has been sent upstream and is available in all the git and cvs repositories.

        Show
        Eloy Lafuente (stronk7) added a comment - Many thanks for the hard work, this has been sent upstream and is available in all the git and cvs repositories.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: