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

Do not allow models to be enabled if no time splitting method is selected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.4.1
    • 3.4
    • Analytics
    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • MDL-60861-master
    • Hide
      1. Revert the second commit of this patch.
      2. Go to admin/tool/analytics/index.php
      3. You should have a model "Students at risk of dropping out" with no timesplitting method defined.
      4. Try enabling that model, make sure you get an error.
      5. Apply the second commit.
      6. Make sure there is no option to enable the model now.
      Show
      Revert the second commit of this patch. Go to admin/tool/analytics/index.php You should have a model "Students at risk of dropping out" with no timesplitting method defined. Try enabling that model, make sure you get an error. Apply the second commit. Make sure there is no option to enable the model now.

      To select a time splitting method is required in order to use a model. If a model does not have a time splitting method if can not work. We should remove the 'Enable' option from the actions menu until a time splitting method is selected.

        1. Selection_545.png
          Selection_545.png
          57 kB
        2. Selection_546.png
          Selection_546.png
          62 kB
        3. Selection_547.png
          Selection_547.png
          56 kB
        4. Selection_548.png
          Selection_548.png
          45 kB

            ankit_frenz Ankit Agarwal
            dmonllao David Monllaó
            Simey Lameze Simey Lameze
            Damyon Wiese Damyon Wiese
            David Monllaó David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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