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

developer hint for missing or unreadable calendar hook file

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1, 2.2, 2.3
    • Fix Version/s: 2.4
    • Component/s: Calendar
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a calendar event
      2. Edit the calendar event
      3. Set $CFG-calendar to "moodle"
      4. Create a new calendar event
      5. Edit or Delete the calendar event
      6. Check the event is still created, edited or deleted and provides the developer hint "Calendar lib file missing or not readable at /calendar/moodle/lib.php."
      7. Explore the calendar module before and after setting the CFG variable to ensure there are no other regressions
      Show
      Create a calendar event Edit the calendar event Set $CFG-calendar to "moodle" Create a new calendar event Edit or Delete the calendar event Check the event is still created, edited or deleted and provides the developer hint "Calendar lib file missing or not readable at /calendar/moodle/lib.php." Explore the calendar module before and after setting the CFG variable to ensure there are no other regressions
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-32180-master

      Description

      Provide a developer hint if $CFG->calendar is set in config.php but MOODLE_DIRROOT/calendar/{$CFG->calendar}/lib.php is missing or can't be read.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    3/Dec/12