• Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.3
    • 2.3
    • Assignment
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • git@github.com:netspotau/moodle-mod_assign.git
    • Hide

      Go to Site Administration -> Plugins -> Activity Modules -> Manage Activities

      Delete the Assignment Activity

      Go to Site Administration -> Notifications

      Install the activity again.

      Should see separate sections for each assignment plugin with only it's own settings (Most only have "default").

      Show
      Go to Site Administration -> Plugins -> Activity Modules -> Manage Activities Delete the Assignment Activity Go to Site Administration -> Notifications Install the activity again. Should see separate sections for each assignment plugin with only it's own settings (Most only have "default").

      The mod/assign/settings.php need to be reworked:
      1/ nothing module related can appear on the new install page
      2/ mod_assign should not pollute global $CFG

      Ideally settings should affect only one plugin, once you start adding dependencies things start to break. In this particular case we need to apply default settings in manual install and cli upgrades, the mod_assign gets executed before the subplugins, it can not depend on its settings being set. I do not know any elegant solution here, maybe show all plugins in assign_feedback_plugin_for_gradebook and default to so known plugin.

      The second problem is that we can not keep adding module specific stuff to $CFG, long ago it was agreed that all new stuff goes config_plugins. Solution is to use:

      admin_setting_configselect('assign/feedback_plugin_for_gradebook')

      and the same for new admin_setting_configcheckbox('assignsubmission_' . $type . '_default', and otehr settings.

            damyon Damyon Wiese
            skodak Petr Skoda
            Dan Poltawski Dan Poltawski
            Adrian Greeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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