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

Analytics code calls make_request_directory() with invalid arguments

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8.2
    • Fix Version/s: None
    • Component/s: Analytics
    • Labels:
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_38_STABLE

      Description

      The analytics code calls the make_request_directory() with a string argument, that's not how it works.

      Examples:

      • lib/mlbackend/python/classes/processor.php: make_request_directory('mlbackend_python_evaluationlog');
      • lib/mlbackend/python/classes/processor.php: make_request_directory('mlbackend_python_export');
      • lib/mlbackend/python/classes/processor.php: make_request_directory('mlbackend_python');
      • analytics/classes/model_config.php: make_request_directory('analyticsexport');
      • analytics/classes/model_config.php: make_request_directory('analyticsimport' . microtime(false));

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mudrd8mz David Mudrák (@mudrd8mz)
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: