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

Meta Enrolment - Search for course produces error

    XMLWordPrintable

Details

    • MOODLE_31_STABLE
    • MOODLE_31_STABLE
    • MDL-55229-master
    • Hide
      1. Log in as admin
      2. Go to Site administration ► Plugins ► Enrolments ► Manage enrol plugins
      3. Enable course meta link
      4. Create 3 categories and one course on each category.
      5. Give enrol/meta:selectaslinked capability for teacher role on each category.
      6. Enrol a teacher in all 3 courses.
      7. Change the visibility of all categories to hidden.
      8. Log in as the enrolled teacher.
      9. Go to one of the courses Course administration ► Users ► Enrolment methods.
      10. Select Course meta link on Add method drop down.
      11. On Link course field, start typing the first letter of one of your courses.
      12. Make sure you don't get unknowncategory error.

      Please note, there are some existing bugs such a teacher that cannot see their courses if it is hidden.. that's a separated issue.

      Show
      Log in as admin Go to Site administration ► Plugins ► Enrolments ► Manage enrol plugins Enable course meta link Create 3 categories and one course on each category. Give enrol/meta:selectaslinked capability for teacher role on each category. Enrol a teacher in all 3 courses. Change the visibility of all categories to hidden. Log in as the enrolled teacher. Go to one of the courses Course administration ► Users ► Enrolment methods. Select Course meta link on Add method drop down. On Link course field, start typing the first letter of one of your courses. Make sure you don't get unknowncategory error. Please note, there are some existing bugs such a teacher that cannot see their courses if it is hidden.. that's a separated issue.
    • 3.2 Sprint 4

    Description

      Searching for a course to connect (as Trainer) i get following error:
      unknowncategory
      Unbekannter Kursbereich
      File: ...lib/coursecatlib.php
      Line: 258
      Stack trace:

      Error code: unknowncategory

      Being logged in as Administrator the search seems to work correctly.

      Attachments

        Issue Links

          Activity

            People

              lameze Simey Lameze
              lestefan Stefan L
              Frédéric Massart Frédéric Massart
              Andrew Lyons Andrew Lyons
              Damyon Wiese Damyon Wiese
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              4 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Sep/16