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

Grade essays button appears when no essays to grade

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Minor
    • None
    • 2.5.2
    • Lesson
    • MOODLE_25_STABLE

    Description

      1. Create a new lesson activity with default settings and a name
      2. Go to the lesson activity
      3. Click on 'grade essay'

      An error is experienced:

      Could not find lesson pages
       
      More information about this error
      Debug info:
      Error code: cannotfindpages
      Stack trace:
       
          line 476 of /lib/setuplib.php: moodle_exception thrown
          line 2729 of /mod/lesson/locallib.php: call to print_error()
          line 1306 of /mod/lesson/locallib.php: call to lesson_page_type_manager->load_all_pages()
          line 256 of /mod/lesson/essay.php: call to lesson->load_all_pages()
      

      Expected result:

      1. The button should not be displayed if there is nothing to grade

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              barbararamiro Barbara Ramiro
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.