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

Availability conditions do not support admin settings.

XMLWordPrintable

    • MOODLE_28_STABLE
    • MOODLE_29_STABLE, MOODLE_30_STABLE
    • MDL-49620_availability_settings
    • Hide
      • Install a 3rd-party availability plugin that includes global settings - the rest of the test instructions will assume: https://moodle.org/plugins/availability_password
      • Check that the settings appear at the end of the installation: 'remember password entered'
      • Check the settings page appears as expected in the admin tree: site admin > plugins > availability restrictions > restriction by password
      • Change one of the settings + save: remember password => until the user logs out
      • Navigate away from the page
      • Return to the settings page and check the setting has been retained
      • Change the setting again + save: remember password => permanently
      • Navigate away and back again
      • Check the setting has again been saved
      • Check that only availability plugins with global settings have settings pages added (i.e. 'Restriction by activity completion', 'Restriction by date', etc. do not appear as pages under 'Availability restrictions')
      Show
      Install a 3rd-party availability plugin that includes global settings - the rest of the test instructions will assume: https://moodle.org/plugins/availability_password Check that the settings appear at the end of the installation: 'remember password entered' Check the settings page appears as expected in the admin tree: site admin > plugins > availability restrictions > restriction by password Change one of the settings + save: remember password => until the user logs out Navigate away from the page Return to the settings page and check the setting has been retained Change the setting again + save: remember password => permanently Navigate away and back again Check the setting has again been saved Check that only availability plugins with global settings have settings pages added (i.e. 'Restriction by activity completion', 'Restriction by date', etc. do not appear as pages under 'Availability restrictions')

      core\plugininfo\availability doesn't implement the core\plugininfo\base::load_settings() method. Consequently availability plugins cannot use admin settings.

            davosmith Davo Smith
            itamart Itamar Tzadok
            Sam Marshall Sam Marshall
            Dan Poltawski Dan Poltawski
            Simey Lameze Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

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