Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-34311 Improve debugging when using default cleaning
  3. MDL-38861

Take rid of missing setType() when uploading users

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: Administration
    • Labels:
    • Testing Instructions:
      Hide

      With debug developer enabled and showing errors or alternatively looking to logs):

      Prepare some users.csv file, these contents can be ok (extracted from a behat test):

      username,password,firstname,lastname,email,cohort1
      tomjones,Pass1234*,Tom,Jones,tomjones@example.com,ASD
      marysmith,Pass1234*,Mary,Smith,marysmith@example.com,DSA
      bobjones,Pass1234*,Bob,Jones,bobjones@example.com,ASD
      alicesmith,Pass1234*,Alice,Smith,alicesmith@example.com,DSA
      

      go to admin->users->accounts->upload users

      upload the csv file, load users, preview and end the process (until the users have been created message.

      GOAL: not "setType()" debugging message is shown at all.

      That is, ciao

      Show
      With debug developer enabled and showing errors or alternatively looking to logs): Prepare some users.csv file, these contents can be ok (extracted from a behat test): username,password,firstname,lastname,email,cohort1 tomjones,Pass1234*,Tom,Jones,tomjones@example.com,ASD marysmith,Pass1234*,Mary,Smith,marysmith@example.com,DSA bobjones,Pass1234*,Bob,Jones,bobjones@example.com,ASD alicesmith,Pass1234*,Alice,Smith,alicesmith@example.com,DSA go to admin->users->accounts->upload users upload the csv file, load users, preview and end the process (until the users have been created message. GOAL: not "setType()" debugging message is shown at all. That is, ciao
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      MDL-34311 revealed some undefined types when uploading users. Fixing them (coz there are some behat tests showing them).

        Attachments

          Activity

            People

            • Assignee:
              stronk7 Eloy Lafuente (stronk7)
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Integrator:
              Dan Poltawski
              Tester:
              Dan Poltawski
              Participants:
              Component watchers:
              Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/May/13