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

Form element setType() issue in /badges/mybackpack.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.5
    • 2.5
    • Badges
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE
    • git@github.com:totara/openbadges.git
    • MDL-39011_master
    • Hide

      Without fix:

      1. Select My profile > My badges

      2a. If backpack connection is already set, click "Edit settings". This leads to mybackpack.php with a warning at the top of the page.

      2b. If backpack is not set up yet, click "Set up connection". On My backpack setting page, enter email address to connect to a backpack. Click "Save". A warning will appear that the top of the page.

      With fix, no warnings should appear on the page.

      Show
      Without fix: 1. Select My profile > My badges 2a. If backpack connection is already set, click "Edit settings". This leads to mybackpack.php with a warning at the top of the page. 2b. If backpack is not set up yet, click "Set up connection". On My backpack setting page, enter email address to connect to a backpack. Click "Save". A warning will appear that the top of the page. With fix, no warnings should appear on the page.

      Missing setType() in the backpack form leads to:

      Did you remember to call setType() for 'email'? Defaulting to PARAM_RAW cleaning.
      line 1275 of /lib/formslib.php: call to debugging()
      line 919 of /lib/formslib.php: call to moodleform->detectMissingSetType()
      line 156 of /badges/mybackpack.php: call to moodleform->display()
      

            ybozhko Yuliya Bozhko
            ybozhko Yuliya Bozhko
            Jason Fowler Jason Fowler
            Dan Poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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