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

Add-on validation message always shows "foundlangfile" (Debug)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 2.7
    • Administration
    • MOODLE_27_STABLE
    • MDL-46253-master
    • Hide

      To test this issue, you must download a plugin with just one language package.
      I've tested using this add-on:
      https://moodle.org/plugins/pluginversions.php?plugin=auth_zilink_saml

      After download go to:

      1. Site Administration > Plugins > Install add-ons
      2. Select the add-on zip file and upload it.
      3. Click on Install add-on from ZIP file button.

      You should see a message with status OK on the foundlangfile item.

      Show
      To test this issue, you must download a plugin with just one language package. I've tested using this add-on: https://moodle.org/plugins/pluginversions.php?plugin=auth_zilink_saml After download go to: Site Administration > Plugins > Install add-ons Select the add-on zip file and upload it. Click on Install add-on from ZIP file button. You should see a message with status OK on the foundlangfile item.
    • 3
    • BACKEND Sprint 14

      Debug message can be confusing to most users.

      When installing a plugin/module through Moodle interface , Add-on Package validation page display Message "foundlangfile" with status 'Debug'. It looks like as if something is wrong.

      File : /admin/tool/installaddon/classes/validator.php
      Line : 397
      Incorrect : $this->add_message(self::DEBUG, 'foundlangfile', $this->langfilename);
      Correct : $this->add_message(self::OK, 'foundlangfile', $this->langfilename);

      I am not sure if setting it to DEBUG is done for a reason.

            lameze Simey Lameze
            pinky Pinky Sharma
            David Monllaó David Monllaó
            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.