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

Add an admin setting to toggle off the checknet.txt checking

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.7.18, 2.9.9, 3.0.8, 3.1.4, 3.2.1
    • Fix Version/s: None
    • Component/s: SCORM
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. Provision a Moodle site using the appropriate wip- branch.
      2. Create a course and add a SCORM module (use the attached if you like) to the course.
      3. Navigate to Site Administration > Plugins > Activity Modules > SCORM and check the Disable network checks checkbox.
      4. Enter the SCORM activity and launch the SCORM content.
      5. Activate your browser developer tools and watch the network requests.
      6. There should be no network requests to checknet.txt.
      7. Navigate to Site Administration > Plugins > Activity Modules > SCORM and uncheck the Disable network checks checkbox.
      8. Enter the SCORM activity and launch the SCORM content.
      9. Activate your browser developer tools and watch the network requests.
      10. There should be regular network requests to checknet.txt.
      Show
      Provision a Moodle site using the appropriate wip- branch. Create a course and add a SCORM module (use the attached if you like) to the course. Navigate to Site Administration > Plugins > Activity Modules > SCORM and check the Disable network checks checkbox. Enter the SCORM activity and launch the SCORM content. Activate your browser developer tools and watch the network requests. There should be no network requests to checknet.txt. Navigate to Site Administration > Plugins > Activity Modules > SCORM and uncheck the Disable network checks checkbox. Enter the SCORM activity and launch the SCORM content. Activate your browser developer tools and watch the network requests. There should be regular network requests to checknet.txt.
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
    • Pull 3.1 Branch:
      wip-MDL-57804-31
    • Pull Master Branch:
      wip-MDL-57804-master

      Description

      Some of our clients have learners that are accessing content mainly through ship-based or extreme northern hemisphere satellite connections. The higher latency of these connections causes the checknet alert to be thrown when the user's network connection hasn't been dropped. I think it's a good idea to provide a setting (with very strongly worded precautions) allowing admin users to disable the network check. I See Dan's resistance to the change in MDL-48419. We happen to have a couple of high-profile clients for whom occasional loss of data resulting from dropped network connection is preferable to their users having to repeatedly close the alert. Finally, I have to acknowledge some degree of situational irony in submitting this improvement, since I pushed very hard for the implementation of the checknet funct for a very long time (and it has dramatically reduced our SCORM support workload). We would probably disable this setting by default for most clients using the config file, but providing an admin setting allows us to avoid having 15 or 20 sites with their own custom repositories. This issue is fairly common in some rural Alaska villages where online learning is one of the only avenues for professional development/career advancement, and I would hate for this very important functionality to become another obstacle for those learners.

      Alternatives I've considered:

      • An admin setting allowing admin users to bump up the timeout for the checknet request. (Seems kind of scorched-earth to me, but we could provide a dropdown with preset options so admins couldn't set it really high...)
      • Stop throwing alerts after the third (?) or so alert. We've done or due diligence and warned the learner numerous times, if they want to continue, that's up to them.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  3 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: